We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e77506 commit 6c303f5Copy full SHA for 6c303f5
src/commands/prune.ts
@@ -26,7 +26,7 @@ const prune: Command = {
26
27
await msg.delete();
28
const messages = await msg.channel.fetchMessages({ limit: num });
29
- await messages.clear();
+ await msg.channel.bulkDelete(messages);
30
return null;
31
},
32
};
0 commit comments