1 |
import { CommandInteraction, GuildMember, Interaction, Message } from 'discord.js'; |
import { Message } 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'; |
|
import InteractionOptions from '../../types/InteractionOptions'; |
|
|
import MessageEmbed from '../../client/MessageEmbed'; |
|
5 |
import { emoji } from '../../utils/Emoji'; |
import { emoji } from '../../utils/Emoji'; |
6 |
|
|
7 |
export default class WelcomeMsgCommand extends BaseCommand { |
export default class WelcomeMsgCommand extends BaseCommand { |
61 |
await message.reply(`${emoji('error')} Invalid argument(s) or option(s) supplied.`); |
await message.reply(`${emoji('error')} Invalid argument(s) or option(s) supplied.`); |
62 |
return; |
return; |
63 |
} |
} |
64 |
|
|
65 |
|
client.config.write(); |
66 |
} |
} |
|
} |
|
67 |
|
} |