Commit Graph

14 Commits

Author SHA1 Message Date
507a9127ad feat(commands): send command data alongside interaction data 2024-11-19 10:55:24 -03:00
e5f7c26a6c refactor(commands): rename CommandFunc to InteractionHandler and make it private 2024-11-18 17:42:01 -03:00
dfe40d9972 refactor(commands): make CommandName, CommandId alias types private 2024-11-18 17:41:28 -03:00
46e3e7fb88 feat(commands,interactions): basic error handling of interactions 2024-11-18 17:24:33 -03:00
2ee70560dc refactor(commands,interactions): move interactions handling to dedicated function and file 2024-11-18 17:16:37 -03:00
b46c5b6e52 feat(commands): improve value comparasion between local and registered commands 2024-11-18 13:36:00 -03:00
5e08661594 fix(commands): i.User is nil on guilds, missing check 2024-11-18 10:04:42 -03:00
c9225386ac feat(commands): accept Command slice instead of map 2024-11-18 09:38:44 -03:00
512794629e feat(commands): error return in handler functions 2024-11-18 09:38:04 -03:00
84a847f3b0 refactor(commands): move removal of unhanlded commands to it's own function 2024-11-13 19:50:41 -03:00
cbc9c3236e refactor(commands): move registered commands map to dedicated function 2024-11-13 19:49:57 -03:00
070e3be70b refactor(commands): rename RegisterCommands to UpdateCommands 2024-11-13 19:48:30 -03:00
d3e047a66f refactor(commands): move comparing functions to it's own file 2024-11-12 16:15:08 -03:00
4ee34f49f6 feat(commands): new commands handler implementation 2024-11-12 16:10:00 -03:00