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

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

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

revision 195 by rakin, Mon Jul 29 17:28:58 2024 UTC revision 206 by rakin, Mon Jul 29 17:29:01 2024 UTC
# Line 1  Line 1 
1  import { BanOptions, CommandInteraction, Emoji, GuildChannel, GuildMember, Interaction, Message, TextChannel, User } from 'discord.js';  import { BanOptions, CommandInteraction, Emoji, GuildChannel, GuildMember, Interaction, Message, TextChannel, 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 12  import { hasPermission, shouldNotModerat Line 12  import { hasPermission, shouldNotModerat
12    
13  export default class ClearCommand extends BaseCommand {  export default class ClearCommand extends BaseCommand {
14      supportsInteractions: boolean = true;      supportsInteractions: boolean = true;
15        permissions = [Permissions.FLAGS.MANAGE_MESSAGES];
16    
17      constructor() {      constructor() {
18          super('clear', 'moderation', []);          super('clear', 'moderation', []);

Legend:
Removed from v.195  
changed lines
  Added in v.206

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26