Swag-Bot
Swag-Bot copied to clipboard
Modular Refactor
I can clean up index.js
by spreading your functions / events across multiple files and folders. For e.g. ready.js
message.js
could be in a folder called Events. I also noticed your not using dotenv
which could make handling secrets more convenient. Let me know if you want this and I'll get started when I have time.
Sorry about the late reply. I do think my index.js
is a bit clunky and if you are still interested in contributing, feel free to make a pull request. dotenv
is also a good idea for handing environmental variables. Thanks for the help and suggestions.
Alright I'll get started on it now then.
The number of packages you have is a nightmare, I don't really want to install python so I'll PR over what I have. If you really want to look into modular functionality, take a look at this bot repo.
See #14