|
|
7b8d7322d0
|
refactor(lib,commands,errors): update errors to conform with Go's standatds
|
2024-11-22 19:12:35 -03:00 |
|
|
|
4b54589178
|
fix(lib,commands): update Validate() method
|
2024-11-22 19:10:58 -03:00 |
|
|
|
14fae3941a
|
refactor(lib,commands,errors): move errors to command_chat.go
|
2024-11-22 19:08:18 -03:00 |
|
|
|
83a160b1e7
|
feat(lib,commands,context): UserCommandCtx for Handler
|
2024-11-22 19:07:10 -03:00 |
|
|
|
9441c02c78
|
feat(lib,commands,context): MessageCommandCtx for Handler
|
2024-11-22 19:06:58 -03:00 |
|
|
|
c50b636c03
|
refactor(lib,commands,context): move ChatCommandContextOptions to commands_chat.go and rename Context to Ctx
|
2024-11-22 19:06:32 -03:00 |
|
|
|
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 |
|
|
|
7f2454c567
|
feat(lib,commands): UserCommand struct
|
2024-11-21 21:26:04 -03:00 |
|
|
|
f7d1311c25
|
feat(lib,commands): MessageCommand struct
|
2024-11-21 21:25:52 -03:00 |
|
|
|
f99e3dd4e5
|
feat(lib,commands): ChatCommand object/struct
|
2024-11-21 21:25:29 -03:00 |
|
|
|
c8f45183f6
|
feat(lib,commands): Command interface
|
2024-11-21 21:24:46 -03:00 |
|
|
|
ac523cba73
|
feat(lib): new bot abstraction library
following the idea from [Comicverse's library
package](https://forge.capytal.company/capytalcode/project-comicverse/src/branch/main/lib),
a new package inside the "lib" folder was created, to make a abstraction
over the discordgo package. The idea is to follow something similar to
the http package with it's router with Handle functions and with
inspirations from the package
[Disgolf](https://github.com/FedorLap2006/disgolf).
|
2024-11-21 21:23:09 -03:00 |
|