Bug Fixes

This commit is contained in:
dragonfire535
2017-03-03 09:56:19 -05:00
parent 30aace2dcb
commit a11baeaa3d
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class InfoCommand extends commando.Command {
.addField('Lib',
"[discord.js](https://discord.js.org/#/) (master)", true)
.addField('Packages',
"[Commando](https://github.com/Gawdl3y/discord.js-commando) (0.9.0), [cleverbot-node](https://github.com/fojas/cleverbot-node) (0.3.3), [pirate-speak](https://github.com/mikewesthad/pirate-speak) (1.0.1), [JIMP](https://github.com/oliver-moran/jimp) (0.2.27), [google-translate-api](https://github.com/matheuss/google-translate-api) (2.2.2)")
"[Commando](https://github.com/Gawdl3y/discord.js-commando) (0.9.0), [cleverbot-node](https://github.com/fojas/cleverbot-node) (0.3.3), [pirate-speak](https://github.com/mikewesthad/pirate-speak) (1.0.1), [JIMP](https://github.com/oliver-moran/jimp) (0.2.27), [google-translate-api](https://github.com/matheuss/google-translate-api) (2.2.2), [urban](https://github.com/mvrilo/urban) (0.3.1)")
.addField('Other Credit',
"[Cleverbot API](https://www.cleverbot.com/api/)")
.addField('My Server',
-1
View File
@@ -17,7 +17,6 @@ class UrbanDictionary extends commando.Command {
if(message.channel.type !== 'dm') {
if(!message.channel.permissionsFor(this.client.user).hasPermission('SEND_MESSAGES')) return;
if(!message.channel.permissionsFor(this.client.user).hasPermission('READ_MESSAGES')) return;
if(!message.channel.permissionsFor(this.client.user).hasPermission('EMBED_LINKS')) return;
}
console.log("[Command] " + message.content);
let wordtodefine = message.content.split(" ").slice(1).join(" ");