5 Commits

Author SHA1 Message Date
Guz
4944eeba1d Added the command type system.
Created the command type `per-guild` these commands are registered when the bot enters a new guild, different of the global type, they can have permissions edited (the permissions system need to be developed yet).

`guild` commands will be registered just in the development guild (probably the purpose of them need to be rethought).

The reload command became adapted to be compatible with the command type system. When a command is reloaded, it's on all other guilds.
2021-09-01 13:59:02 -03:00
Guz
1ac159ebd7 Useful packages
Installed the dotenv, chalk, and nodemon packages to the bot for a better development process.

Console messages now have colors, prefixes, and text formatting, to able them requires the console.js file, it has all the messages formatted with the chalk package.

Also moved the README.md and LICENSE to the .github folder.
2021-08-27 13:28:12 -03:00
Guz
671052f1c1 Added command executing system.
Rebuild, again, the command handling system, now to support the event handling.

Also added more organized console logs.
2021-08-26 16:59:00 -03:00
Gustavo
01c884d97b Readded guild commands permissions.
Added the guild commands permissions registration to the new guild commands handling.
2021-08-17 13:36:02 -03:00
Gustavo
deca5e8d31 Event handling
Added the event handling from the discord.js guide to a more organized and dynamic bot.
2021-08-16 21:05:23 -03:00