Virtual-Royaume / Royaume-Discord-Bot

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.
9 stars 1 forks source link

Required params check #16

Closed Se7en-dev closed 3 years ago

Se7en-dev commented 3 years ago

CommandManager will now check if required command arguments are provided before running the command, avoiding checking this in every command file.

Also removed useless arguments checking in commands, since it is now already checked before the command is ran.