/[sudobot]/trunk/src/commands/moderation/MassBanCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/moderation/MassBanCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 335 by rakin, Mon Jul 29 17:29:00 2024 UTC revision 336 by rakin, Mon Jul 29 17:29:36 2024 UTC
# Line 130  export default class MassBanCommand exte Line 130  export default class MassBanCommand exte
130                          guild_id: msg.guild!.id,                          guild_id: msg.guild!.id,
131                          mod_id: msg.member!.user.id,                          mod_id: msg.member!.user.id,
132                          mod_tag: (msg.member!.user as User).tag,                          mod_tag: (msg.member!.user as User).tag,
133                          reason: banOptions.reason ?? undefined                          reason: banOptions.reason ?? undefined,
134                            createdAt: new Date()
135                      });                      });
136    
137                      await msg.guild!.bans.create(user, banOptions);                      await msg.guild!.bans.create(user, banOptions);

Legend:
Removed from v.335  
changed lines
  Added in v.336

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26