|
@ -1027,7 +1027,7 @@ async function bulkDelete(message) { |
|
|
message.reply("you do not have high enough permissions!"); |
|
|
message.reply("you do not have high enough permissions!"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
const amount = parseInt(message.content.substring(12)); |
|
|
const amount = parseInt(message.content.split(" ")[1]); |
|
|
|
|
|
|
|
|
if (!amount) { |
|
|
if (!amount) { |
|
|
message.reply('please add the number of messages to be deleted!'); |
|
|
message.reply('please add the number of messages to be deleted!'); |
|
|