diff --git a/commands/emoji.js b/commands/emoji.js index f5a747a..b95bbea 100644 --- a/commands/emoji.js +++ b/commands/emoji.js @@ -20,11 +20,11 @@ exports.run = async (client, message, args) => { }; var ID; - var format = ".png" + var format = '.png' var string = args[0].replace(/\D/g,''); - if(args[0].charAt(1) == "a" && args[0].charAt(2) == ":") { - format = ".gif" + if(args[0].charAt(1) == 'a' && args[0].charAt(2) == ':') { + format = '.gif' }; if(string.length > 18) { @@ -39,6 +39,6 @@ exports.run = async (client, message, args) => { - message.channel.send("https://cdn.discordapp.com/emojis/" + ID + format) + message.channel.send('https://cdn.discordapp.com/emojis/' + ID + format) }; \ No newline at end of file