Merge branch 'master' of github.com:bjcscat/esmBot
This commit is contained in:
		
						commit
						f3f23ddbf2
					
				
					 2 changed files with 11 additions and 10 deletions
				
			
		| 
						 | 
					@ -1,17 +1,17 @@
 | 
				
			||||||
import ImageCommand from "../../classes/imageCommand.js";
 | 
					import ImageCommand from "../../classes/imageCommand.js";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class AVSCommand extends ImageCommand {
 | 
					class AVSCommand extends ImageCommand {
 | 
				
			||||||
	  params = {
 | 
					  params = {
 | 
				
			||||||
		      water: "./assets/images/avs4you.png",
 | 
					    water: "./assets/images/avs4you.png",
 | 
				
			||||||
		      gravity: 5,
 | 
					    gravity: 5,
 | 
				
			||||||
		      resize: true
 | 
					    resize: true
 | 
				
			||||||
		    };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	  static description = "Adds the avs4you watermark to an image";
 | 
					  static description = "Adds the avs4you watermark to an image";
 | 
				
			||||||
	  static aliases = ["avs4you"];
 | 
					  static aliases = ["a4y", "avs"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	  static noImage = "You need to provide an image/GIF to add a avs4you watermark!";
 | 
					  static noImage = "You need to provide an image/GIF to add an avs4you watermark!";
 | 
				
			||||||
	  static command = "watermark";
 | 
					  static command = "watermark";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default AVSCommand;
 | 
					export default AVSCommand;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,8 @@ const tenorURLs = [
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
const giphyURLs = [
 | 
					const giphyURLs = [
 | 
				
			||||||
  "giphy.com",
 | 
					  "giphy.com",
 | 
				
			||||||
  "www.giphy.com"
 | 
					  "www.giphy.com",
 | 
				
			||||||
 | 
					  "i.giphy.com"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
const giphyMediaURLs = [ // there could be more of these
 | 
					const giphyMediaURLs = [ // there could be more of these
 | 
				
			||||||
  "media.giphy.com",
 | 
					  "media.giphy.com",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue