diff options
| author | 8cy <[email protected]> | 2020-04-12 05:48:25 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-12 05:48:25 -0700 |
| commit | b9b82004cd5e7b64deb1b20e2ea17353f4d01deb (patch) | |
| tree | e896855b35174116bc5ddc6e716e4a7a8ff40df2 /commands/utility/clear.js | |
| parent | oop, v3.0.1 (diff) | |
| download | s5nical-b9b82004cd5e7b64deb1b20e2ea17353f4d01deb.tar.xz s5nical-b9b82004cd5e7b64deb1b20e2ea17353f4d01deb.zip | |
emojis for all :D, 3.0.2
Diffstat (limited to 'commands/utility/clear.js')
| -rw-r--r-- | commands/utility/clear.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/commands/utility/clear.js b/commands/utility/clear.js index c64c092..d563501 100644 --- a/commands/utility/clear.js +++ b/commands/utility/clear.js @@ -29,19 +29,19 @@ module.exports = class ClearUtility extends Command { async run(msg, { deleteAmount }) { if (msg.member.hasPermission('MANAGE_MESSAGES')) { if (!deleteAmount) { - msg.reply('you haven\'t specified an amount of messages which should be deleted.').then(deleteNotificationMessage => { + msg.reply('you haven\'t specified an amount of messages which should be deleted. ' + emoji.random()).then(deleteNotificationMessage => { deleteNotificationMessage.delete({ timeout: 1000 }); }); } else if (isNaN(deleteAmount)) { - msg.reply('the amount parameter isn\'t a number.').then(deleteNotificationMessage => { + msg.reply('the amount parameter isn\'t a number. ' + emoji.random()).then(deleteNotificationMessage => { deleteNotificationMessage.delete({ timeout: 1000 }); }); } else if (deleteAmount > 100) { - msg.reply('you can\'t delete more than 100 messages at once.').then(deleteNotificationMessage => { + msg.reply('you can\'t delete more than 100 messages at once. ' + emoji.random()).then(deleteNotificationMessage => { deleteNotificationMessage.delete({ timeout: 1000 }); }); } else if (deleteAmount < 1) { - msg.reply('you have to delete at least 1 message.').then(deleteNotificationMessage => { + msg.reply('you have to delete at least 1 message. ' + emoji.random()).then(deleteNotificationMessage => { deleteNotificationMessage.delete({ timeout: 1000 }); }); } @@ -64,7 +64,7 @@ module.exports = class ClearUtility extends Command { }); } } else { - msg.reply('insufficent perms bruh'); + msg.reply('insufficent perms bruh ' + emoji.random()); } } };
\ No newline at end of file |