|
@ -21,7 +21,7 @@ client.on("message", message => { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
async function bulkDelete(message) { |
|
|
async function bulkDelete(message) { |
|
|
const amount = message.content.substring(0, 12); |
|
|
const amount = message.content.substring(12); |
|
|
|
|
|
|
|
|
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!'); |
|
|