baabaablackgoat / SolsticeBot

A (pretty damn useless) bot, designed with Discord.js. THIS CODE IS UNCLEAAAAN!
1 stars 1 forks source link

Aliases should no longer be defined as a new command #29

Closed baabaablackgoat closed 7 years ago

baabaablackgoat commented 7 years ago

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 found

baabaablackgoat commented 7 years ago

Will crack on with this tomorrow. It's 01:00am again.

baabaablackgoat commented 7 years ago

Hopefully this will now also be case-insensitive ...this is harder than I expected. Edited Issue description accordingly to have a roadmap/checklist

baabaablackgoat commented 7 years ago

15367ef - commands.js now updated. The bot won't work on this commit!

baabaablackgoat commented 7 years ago

6c8beb2 makes it work. And apparently, it's already fully compatible with help! \o/