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

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

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

revision 159 by rakin, Mon Jul 29 17:28:49 2024 UTC revision 203 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, Permissions, User } 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 102  export async function unmute(client: Dis Line 102  export async function unmute(client: Dis
102    
103  export default class UnmuteCommand extends BaseCommand {  export default class UnmuteCommand extends BaseCommand {
104      supportsInteractions: boolean = true;      supportsInteractions: boolean = true;
105        permissions = [Permissions.FLAGS.MODERATE_MEMBERS];
106    
107      constructor() {      constructor() {
108          super('unmute', 'moderation', []);          super('unmute', 'moderation', []);

Legend:
Removed from v.159  
changed lines
  Added in v.203

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26