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
Gustavo "Guz" L. de Mello
b49148a3ef
feat(events,messages): use webhook for new messages
2024-08-22 09:40:27 -03:00
Gustavo "Guz" L. de Mello
a1cf216e36
refactor: simplify error checking
2024-08-22 08:56:43 -03:00
Gustavo "Guz" L. de Mello
162d58f204
fix(events,messages): reply message not having guild id in it's struct
2024-08-22 08:49:06 -03:00
Gustavo "Guz" L. de Mello
c43fffd14a
feat(events,messages): send translated message to linked channel
2024-08-21 21:49:00 -03:00
Gustavo "Guz" L. de Mello
eca9152d47
fix(guilddb,sqlite): messages table constrains
2024-08-21 21:48:25 -03:00
Gustavo "Guz" L. de Mello
23d958e3ea
feat(commands,channels): set language command
2024-08-21 17:19:22 -03:00
Gustavo "Guz" L. de Mello
b1bf048dfe
feat(commands,channels): link channels command
2024-08-20 16:19:37 -03:00
Gustavo "Guz" L. de Mello
4111f6fd36
fix(sqlite,guilddb): ChannelGroup json parsing
2024-08-20 16:09:11 -03:00
Gustavo "Guz" L. de Mello
ff98782492
fix(sqlite,guilddb): ChannelGroupInsert length condition
2024-08-20 15:23:41 -03:00
Gustavo "Guz" L. de Mello
ef9ae97139
fix(guilddb,sqlite): use json to store channel groups
2024-08-19 20:25:38 -03:00
Gustavo "Guz" L. de Mello
9e27dc4ad3
refactor(bot): rename "discordgo" to "dgo"
2024-08-19 20:25:11 -03:00
Gustavo "Guz" L. de Mello
cf59c2d8e0
feat(commands): handling of message components
2024-08-19 20:24:51 -03:00
Gustavo "Guz" L. de Mello
fd5e0fb2de
feat(commands): handling of sub commands
2024-08-19 20:24:14 -03:00
Gustavo "Guz" L. de Mello
fde981eefc
refactor(commands): move Command struct to it's own file
2024-08-19 20:22:28 -03:00
Gustavo "Guz" L. de Mello
c48360efbd
feat(sqlite): fix channel groups table name
2024-08-15 15:57:00 -03:00
Gustavo "Guz" L. de Mello
bdcedf12a3
feat(guilddb): object constructors
2024-08-15 15:35:53 -03:00
Gustavo "Guz" L. de Mello
b38b7fefd1
fix(sqlite): fix select queries
2024-08-15 15:25:25 -03:00
Gustavo "Guz" L. de Mello
dd517ee8ea
feat(bot,commands): error handling of commands
2024-08-15 14:34:30 -03:00
Gustavo "Guz" L. de Mello
4d5e54f30c
refactor(bot,commands): new command handler
2024-08-14 23:58:03 -03:00
Gustavo "Guz" L. de Mello
360fb464b3
fix(sqlite): ignore when already in database
2024-08-14 23:41:20 -03:00
Gustavo "Guz" L. de Mello
fe48b038c6
feat(bot,events): add time and caller in logs
2024-08-14 23:41:01 -03:00
Gustavo "Guz" L. de Mello
899eb9bc4a
feat(bot,events): new event handling
2024-08-14 23:26:11 -03:00
Gustavo "Guz" L. de Mello
85e278d245
feat(cli,logs): change logs to use slog interface and charmbracelet/log
2024-08-14 23:25:45 -03:00