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
52274740ae
chore(v1): delete old cli from version 1
2024-11-18 13:34:45 -03:00
fd2593e43d
chore(v1): delete old code from version 1
2024-11-18 13:34:25 -03:00
2ca2193617
chore(debugger): add verbosity flag in launch.json
2024-11-18 10:05:52 -03:00
1cdc8393d5
feat(main): add verbosity level flag for debugging
2024-11-18 10:05:04 -03:00
5e08661594
fix(commands): i.User is nil on guilds, missing check
2024-11-18 10:04:42 -03:00
3dd9e332de
feat(commands,bot): mock command for testing
2024-11-18 10:04:01 -03:00
84ade64afd
fix(bot): missing intents
2024-11-18 10:03:11 -03:00
2316448156
fix(bot): token prefix missing
2024-11-18 10:03:01 -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
2fca837809
fix(main): incorrect database url/path
2024-11-18 09:37:06 -03:00
ac54384a91
fix(db): create table queries syntax error
2024-11-18 09:36:33 -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
0566b1624a
refactor: rewrite, a lot
...
The last implementation was sketchy, and since I have been weeks without
interacting with the codebase, I don't have the pacience to know what
the fuck my mind was thinking before
2024-11-04 19:21:01 -03:00
daa63f5d64
refactor!: restructure all project packages to simplify it
2024-11-04 09:02:57 -03:00
984f39caf2
fix: check for nil pointer in author id
2024-09-25 15:19:48 -03:00
65133b28dc
chore(sqlite): add lazysql for sqlite management
2024-09-05 17:36:16 -03:00
98009015c3
refactor(events,errors): simplify and structure more error handling of events
2024-09-05 17:35:52 -03:00
790687e351
chore: formatting
2024-09-04 17:06:22 -03:00
c6d5d81590
fix(commands,channels): error handling for not found groups
2024-09-04 17:04:01 -03:00
decc8fa733
feat: support for deleting threads from messages
2024-09-03 16:38:10 -03:00
97c53c4cc7
fix: .vscode/launch.json
2024-09-03 08:56:49 -03:00
0ed66815f7
refactor: rename evErr to everr
2024-09-02 18:25:57 -03:00
f70de4bca1
feat: rename evErr to everr
2024-09-02 17:47:23 -03:00
a84d6dabfd
refactor(events,errors): simplified errors in events
2024-09-02 17:40:11 -03:00
Gustavo "Guz" L. de Mello
034fd9e905
style(messages,threads): format code
2024-08-30 14:44:42 -03:00
Gustavo "Guz" L. de Mello
bb4051876a
feat(messages,threads): support for thread syncronization between channels
2024-08-30 14:21:17 -03:00
Gustavo "Guz" L. de Mello
7225415b22
fix(sqlite): database is locked issue
2024-08-29 13:59:23 -03:00
Gustavo "Guz" L. de Mello
641e7ebdbf
feat(messages,events): message deleting support
2024-08-28 14:11:09 -03:00
Gustavo "Guz" L. de Mello
0d6684666e
fix(sqlite,guilddb): sql DELETE queries
2024-08-28 14:10:42 -03:00
Gustavo "Guz" L. de Mello
75f72158af
chore: ignore debug files
2024-08-28 10:05:24 -03:00
Gustavo "Guz" L. de Mello
679f3e0272
chore(formatting,ci): more formatting commands
2024-08-28 10:04:55 -03:00
Gustavo "Guz" L. de Mello
61c9f9aed8
feat(events,messages): message edit/update support
2024-08-26 20:40:06 -03:00
Gustavo "Guz" L. de Mello
60fe8190cd
refactor(commands,channels): change publicity of subcommands
2024-08-26 18:34:36 -03:00
Gustavo "Guz" L. de Mello
03d35268c5
refactor(commands,config): use slog.Level methods for parsing the option
2024-08-26 11:56:54 -03:00
Gustavo "Guz" L. de Mello
1ea4309224
feat(commands,config): level changing command
2024-08-26 11:51:13 -03:00
Gustavo "Guz" L. de Mello
739ba7062a
fix(commands,config): reponse type
2024-08-26 11:32:04 -03:00
Gustavo "Guz" L. de Mello
b37934ded1
feat(bot,events,commands): guild configuration and logging
2024-08-26 11:16:26 -03:00
Gustavo "Guz" L. de Mello
220e14c020
feat(guilddb): guild configuration
2024-08-26 11:15:47 -03:00
Gustavo "Guz" L. de Mello
92479fbc61
chore(debugger): add debugging configuration for vscode and nvim-dap
2024-08-23 21:06:22 -03:00