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

Diff of /trunk/src/commands/moderation/UnbanCommand.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 204 by rakin, Mon Jul 29 17:29:00 2024 UTC
# Line 1  Line 1 
1  import { BanOptions, CommandInteraction, Guild, GuildMember, Interaction, Message, User } from 'discord.js';  import { BanOptions, CommandInteraction, Guild, GuildMember, Interaction, Message, User, Permissions } from 'discord.js';
2  import BaseCommand from '../../utils/structures/BaseCommand';  import BaseCommand from '../../utils/structures/BaseCommand';
3  import DiscordClient from '../../client/Client';  import DiscordClient from '../../client/Client';
4  import CommandOptions from '../../types/CommandOptions';  import CommandOptions from '../../types/CommandOptions';
# Line 13  import PunishmentType from '../../types/ Line 13  import PunishmentType from '../../types/
13    
14  export default class UnbanCommand extends BaseCommand {  export default class UnbanCommand extends BaseCommand {
15      supportsInteractions: boolean = true;      supportsInteractions: boolean = true;
16        permissions = [Permissions.FLAGS.BAN_MEMBERS];
17    
18      constructor() {      constructor() {
19          super('unban', 'moderation', []);          super('unban', 'moderation', []);

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26