Commit Graph

20 Commits

Author SHA1 Message Date
e7a280a491 refactor(lib,commands): remove boolean from Validate methods 2024-11-22 19:00:58 -03:00
4d7eb73f75 refactor(lib,commands,errors): error capitalization and nouns do not follow Go's review standards 2024-11-22 18:50:33 -03:00
84dad980a9 refactor(lib,commands,options): create generic ChatCommandOptionChoice type 2024-11-22 18:46:16 -03:00
38709bb4bf fix(lib,commands,options): choices on command types that do not support them 2024-11-22 18:45:33 -03:00
f1dc8e7421 feat(lib,commands,options): choice checking for validation 2024-11-22 18:35:17 -03:00
cad54f3fe7 refactor(lib,commands,options): rearrange structs definition to alphabetical order 2024-11-22 10:45:08 -03:00
4d3b32e85f feat(lib,commands,context): add Value of options for ChatCommandContext 2024-11-22 10:38:22 -03:00
334e098cdd feat(lib,commands,context): Context and ChatCommandContext for Handler 2024-11-22 10:37:40 -03:00
db21d12dfc fix(lib,commands,options): check for Autocomplete and Choices mutual exclusivity 2024-11-22 09:31:57 -03:00
12d6e0bf7a fix(lib,commands,options): remove Autocomplete from options that do not support it 2024-11-22 09:31:17 -03:00
7e7260081e feat(lib,commands,options): attachement option for chat commands 2024-11-21 21:35:34 -03:00
d155c2144a feat(lib,commands,options): number option for chat commands 2024-11-21 21:35:18 -03:00
793c3d0408 feat(lib,commands,options): mentionable option for chat command 2024-11-21 21:35:05 -03:00
334ef58d3c feat(lib,commands,options): role option for chat command 2024-11-21 21:34:38 -03:00
3cf917b3e8 feat(lib,commands,options): channel option for chat commands 2024-11-21 21:34:12 -03:00
67dc22db0e feat(lib,commands,options): user option for chat commands 2024-11-21 21:33:55 -03:00
49fb58b4c5 feat(lib,commands,options): boolean option for chat commands 2024-11-21 21:33:36 -03:00
d39147f215 feat(lib,commands,options): integer option for chat commands 2024-11-21 21:33:18 -03:00
b8a214dedd feat(lib,commands,options): StringOption for ChatCommand 2024-11-21 21:32:36 -03:00
f99e3dd4e5 feat(lib,commands): ChatCommand object/struct 2024-11-21 21:25:29 -03:00