add BANger (#8)
This commit is contained in:
		
							parent
							
								
									1645913b7f
								
							
						
					
					
						commit
						9aed4d275f
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								src/plugins/banger.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/plugins/banger.ts
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
import definePlugin from "../utils/types";
 | 
			
		||||
 | 
			
		||||
export default definePlugin({
 | 
			
		||||
    name: "BANger",
 | 
			
		||||
    description: "Replaces the GIF in the ban dialogue with a custom one.",
 | 
			
		||||
    author: "Xinto",
 | 
			
		||||
    patches: [
 | 
			
		||||
        {
 | 
			
		||||
            find: "BanConfirm",
 | 
			
		||||
            replacement: {
 | 
			
		||||
                match: /src:\w\(\d+\)/g,
 | 
			
		||||
                replace: 'src: "https://i.imgur.com/wp5q52C.mp4"'
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    ],
 | 
			
		||||
})
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue