Add Service Announcement

This commit is contained in:
2022-01-27 17:59:59 +07:00
parent 18c1a8511b
commit 863a8576d1
5 changed files with 505 additions and 5 deletions
+18
View File
@@ -52,6 +52,24 @@ GUILD_COMMANDS.push(new SlashCommandBuilder()
.setRequired(true)
)
)
.addSubcommand(info => info
.setName('setenableserviceannouncement')
.setDescription('Enable or disable service announcement feature')
.addStringOption(prefix => prefix
.setName('status')
.setDescription('New status')
.setRequired(true)
)
)
.addSubcommand(info => info
.setName('setserviceannouncementchannel')
.setDescription('Set channel where service announcement will be sent')
.addChannelOption(prefix => prefix
.setName('channel')
.setDescription('New status')
.setRequired(true)
)
)
);
GUILD_COMMANDS.push(new SlashCommandBuilder()
.setName('membershipscreening')