diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-07-22 20:10:07 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-07-22 20:10:07 -0400 |
| commit | 5677f2d4b8ee45e8165440bb7ef57b8a28f5a838 (patch) | |
| tree | abf1368ae836f702f3860446afd4235db736ee11 | |
| parent | 8e33b17eaf018ed250fcd26924c3aed5c6d5f6ec (diff) | |
| download | DLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.tar.gz DLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.tar.bz2 DLAP-5677f2d4b8ee45e8165440bb7ef57b8a28f5a838.zip | |
Fixes
| -rw-r--r-- | bot.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}\`.`) |
