aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-22 20:10:07 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-22 20:10:07 -0400
commit5677f2d4b8ee45e8165440bb7ef57b8a28f5a838 (patch)
treeabf1368ae836f702f3860446afd4235db736ee11
parent8e33b17eaf018ed250fcd26924c3aed5c6d5f6ec (diff)
downloadDLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.tar.gz
DLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.tar.bz2
DLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.zip
Fixes
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index f6c496f..98b710f 100644
--- a/bot.js
+++ b/bot.js
@@ -93,7 +93,7 @@ client.on('message', async msg => {
// Public allowed commands
if (command == 'help') {
- if (!message.guild.member(client.user).hasPermission('EMBED_LINKS')) return message.reply('ERROR: This bot doesn\'t have the permission to send embed links please enable them to use the full help.');
+ if (!msg.guild.member(client.user).hasPermission('EMBED_LINKS')) return msg.reply('ERROR: This bot doesn\'t have the permission to send embed links please enable them to use the full help.');
const helpEmbed = new Discord.MessageEmbed()
.setAuthor(`${client.user.username} Help`, client.user.avatarURL)
.setDescription(`Currently playing \`${audio}\`.`)