Skip to content

Commit 6c303f5

Browse files
committed
Fix prune
1 parent 4e77506 commit 6c303f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/prune.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const prune: Command = {
2626

2727
await msg.delete();
2828
const messages = await msg.channel.fetchMessages({ limit: num });
29-
await messages.clear();
29+
await msg.channel.bulkDelete(messages);
3030
return null;
3131
},
3232
};

0 commit comments

Comments
 (0)