Added force update and verify
This commit is contained in:
@@ -39,6 +39,10 @@ module.exports = {
|
||||
subcommand
|
||||
.setName('sendrules-info')
|
||||
.setDescription('Send the rules and info message to a channel.'))
|
||||
.addSubcommand(subcommand =>
|
||||
subcommand
|
||||
.setName('reload')
|
||||
.setDescription('Reload the bot.'))
|
||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
||||
.setDMPermission(false),
|
||||
|
||||
@@ -49,6 +53,10 @@ module.exports = {
|
||||
const subcommand = interaction.options.getSubcommand();
|
||||
const embedColor = Number(color.replace("#", "0x"));
|
||||
|
||||
if (subcommand === 'reload') {
|
||||
await interaction.reply({ content: "In development.", ephemeral: true });
|
||||
}
|
||||
|
||||
if (subcommand === 'sendguildapplication') {
|
||||
|
||||
const channel = interaction.options.getChannel('channel');
|
||||
@@ -109,5 +117,9 @@ module.exports = {
|
||||
|
||||
await interaction.reply({ content: 'Message sent', ephemeral: true })
|
||||
}
|
||||
|
||||
if (subcommand !== "sendguildinfo" || "sendrequirements" || "sendrules-info") {
|
||||
await interaction.reply({ content: 'In development.', ephemeral: true });
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user