It is the bot of our Discord community, it offers various utility features. It is written in TypeScript and uses DiscordJS to interact with the Discord API.
With this new system, you can now choose in which channel(s) each individual command can be executed. This is done providing the allowedchannels additional command parameter.
Note : If you don't provide the parameter, the command will only be executable from the commands channel
Changes
ChannelID now contains two enum VoiceChannel and TextChannel. Enum is more convenient than using constants.
Added brackets for ChannelID import statements, since it is now an enum.
Updated allowed channels for the clean command, allowing cleaning messages in every text channel.
This has little to do with this branch, but at the same time we have added the alias "clear" for the "clean" command.
Additions
With this new system, you can now choose in which channel(s) each individual command can be executed. This is done providing the
allowedchannels
additional command parameter.Note : If you don't provide the parameter, the command will only be executable from the
commands
channelChanges
ChannelID
now contains two enumVoiceChannel
andTextChannel
. Enum is more convenient than using constants.Added brackets for
ChannelID
import statements, since it is now an enum.Updated allowed channels for the
clean
command, allowing cleaning messages in every text channel.This has little to do with this branch, but at the same time we have added the alias "clear" for the "clean" command.