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

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

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

revision 86 by rakin, Mon Jul 29 17:28:32 2024 UTC revision 125 by rakin, Mon Jul 29 17:28:41 2024 UTC
# Line 11  import PunishmentType from '../../types/ Line 11  import PunishmentType from '../../types/
11    
12  export default class BanCommand extends BaseCommand {  export default class BanCommand extends BaseCommand {
13      supportsInteractions: boolean = true;      supportsInteractions: boolean = true;
14        supportsContextMenu: boolean = true;
15    
16      constructor() {      constructor() {
17          super('ban', 'moderation', []);          super('ban', 'moderation', ['Ban']);
18      }      }
19    
20      async run(client: DiscordClient, msg: Message | CommandInteraction, options: CommandOptions | InteractionOptions) {      async run(client: DiscordClient, msg: Message | CommandInteraction, options: CommandOptions | InteractionOptions) {

Legend:
Removed from v.86  
changed lines
  Added in v.125

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26