1 |
import { BanOptions, CommandInteraction, EmojiIdentifierResolvable, GuildMember, Interaction, Message, TextChannel, User } from 'discord.js'; |
import { BanOptions, CommandInteraction, EmojiIdentifierResolvable, GuildMember, Interaction, Message, Permissions, TextChannel, 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'; |
11 |
|
|
12 |
export default class EchoCommand extends BaseCommand { |
export default class EchoCommand extends BaseCommand { |
13 |
supportsInteractions: boolean = true; |
supportsInteractions: boolean = true; |
14 |
|
permissions = [Permissions.FLAGS.MANAGE_MESSAGES]; |
15 |
|
|
16 |
constructor() { |
constructor() { |
17 |
super('echo', 'moderation', []); |
super('echo', 'moderation', []); |