Closed baabaablackgoat closed 7 years ago
Will crack on with this tomorrow. It's 01:00am again.
Hopefully this will now also be case-insensitive ...this is harder than I expected. Edited Issue description accordingly to have a roadmap/checklist
15367ef - commands.js now updated. The bot won't work on this commit!
6c8beb2 makes it work. And apparently, it's already fully compatible with help! \o/
Commands are no longer called by checking if the object is present in commands.js New: One object for each function/command, containing
aliases:
as an array Loop over each aliases: array until a match was foundhelp
to work with the new command call typehelp
to work with the new command type