4 |
import CommandOptions from '../../types/CommandOptions'; |
import CommandOptions from '../../types/CommandOptions'; |
5 |
import InteractionOptions from '../../types/InteractionOptions'; |
import InteractionOptions from '../../types/InteractionOptions'; |
6 |
import MessageEmbed from '../../client/MessageEmbed'; |
import MessageEmbed from '../../client/MessageEmbed'; |
|
import getUser from '../../utils/getUser'; |
|
|
import History from '../../automod/History'; |
|
7 |
import { fetchEmoji } from '../../utils/Emoji'; |
import { fetchEmoji } from '../../utils/Emoji'; |
8 |
import getRole, { getRoleRaw } from '../../utils/getRole'; |
import getRole, { getRoleRaw } from '../../utils/getRole'; |
9 |
import { channelMention } from '@discordjs/builders'; |
import { channelMention } from '@discordjs/builders'; |
12 |
export default class SetChPermsCommand extends BaseCommand { |
export default class SetChPermsCommand extends BaseCommand { |
13 |
supportsInteractions: boolean = true; |
supportsInteractions: boolean = true; |
14 |
|
|
15 |
|
permissions = [Permissions.FLAGS.MANAGE_CHANNELS]; |
16 |
|
|
17 |
constructor() { |
constructor() { |
18 |
super('setchperms', 'moderation', []); |
super('setchperms', 'moderation', []); |
19 |
} |
} |