diff options
| author | 8cy <[email protected]> | 2020-04-10 11:43:19 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-10 11:43:19 -0700 |
| commit | 1134df0330ce4a8f2e9af97a638a5ffeac83be17 (patch) | |
| tree | 25d150ad5e68bd975b570f63645bac3aca05a014 /commands/utility/clear.js | |
| parent | set default vol to 10%, 2.0.1 (diff) | |
| download | s5nical-1134df0330ce4a8f2e9af97a638a5ffeac83be17.tar.xz s5nical-1134df0330ce4a8f2e9af97a638a5ffeac83be17.zip | |
cool update :D, v2.0.2
- fix queue
- random emojis behind confirm messages :D
Diffstat (limited to 'commands/utility/clear.js')
| -rw-r--r-- | commands/utility/clear.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/utility/clear.js b/commands/utility/clear.js index 61f9fbb..204581f 100644 --- a/commands/utility/clear.js +++ b/commands/utility/clear.js @@ -1,4 +1,5 @@ const { Command } = require('discord.js-commando'); +const emoji = require('emoji-random'); module.exports = class ClearUtility extends Command { constructor(client) { @@ -51,7 +52,7 @@ module.exports = class ClearUtility extends Command { }).then(messages => { // I am on v11 discord.js msg.channel.bulkDelete(messages); }); - msg.reply('it\'s been deleted ~uwu').then(deleteNotificationMessage => { + msg.reply('it\'s been deleted ~uwu' + emoji.random()).then(deleteNotificationMessage => { deleteNotificationMessage.delete({ timeout: 1000 }); }); } |