3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 23:25:02 +00:00

Remove messages with !massban

This commit is contained in:
Dragory 2019-10-13 00:06:30 +03:00
parent 36bfe673cd
commit d1f2e4f146

View file

@ -1358,7 +1358,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<TConfigSchema> {
const casesPlugin = this.getPlugin<CasesPlugin>("cases");
for (const userId of args.userIds) {
try {
await this.guild.banMember(userId);
await this.guild.banMember(userId, 1);
await casesPlugin.createCase({
userId,