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'; |
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', []); |