Commit Graph

79 Commits

Author SHA1 Message Date
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
Gustavo "Guz" L. de Mello
5cd3937bc7 feat(bot): command and event handling 2024-08-14 16:47:01 -03:00
Gustavo "Guz" L. de Mello
a50770e6b9 feat(guilddb,sqlite): support for multiple guilds 2024-08-14 14:21:10 -03:00
Gustavo "Guz" L. de Mello
ce536444e2 fix(sqlite): table shemas name in methods 2024-08-14 10:45:50 -03:00
Gustavo "Guz" L. de Mello
fbe0669b66 fix(cli): use flag value to database 2024-08-14 10:16:16 -03:00
Gustavo "Guz" L. de Mello
fcba1150fc feat(cli): log information for each step 2024-08-13 21:43:22 -03:00
Gustavo "Guz" L. de Mello
ac4eead188 fix(bot): Open method being wrongly used 2024-08-13 21:43:07 -03:00
Gustavo "Guz" L. de Mello
5f28695413 fix(sqlite): fix foreign key row 2024-08-13 21:39:31 -03:00
Gustavo "Guz" L. de Mello
e4e9d6a44b fix(sqlite): remove schema name in foreign key constrait 2024-08-13 21:38:52 -03:00
Gustavo "Guz" L. de Mello
cd0ee8157b feat(cli): cli flags 2024-08-13 21:33:11 -03:00
Gustavo "Guz" L. de Mello
cfa7b2f6be fix(sqlite): remove schema names 2024-08-13 21:32:35 -03:00
Gustavo "Guz" L. de Mello
13a4128ef1 fix(sqlite): fix schema name in table creation 2024-08-13 21:31:25 -03:00
Gustavo "Guz" L. de Mello
733cde71af refactor(sqlite): remove unused user-webhooks table 2024-08-13 21:31:09 -03:00
Gustavo "Guz" L. de Mello
e1db627f91 fix(sqlite): fix table creation queries 2024-08-13 21:29:12 -03:00
Gustavo "Guz" L. de Mello
ff2d514ea4 fix(sqlite): fix messages table create schema 2024-08-13 21:26:08 -03:00
Gustavo "Guz" L. de Mello
0635e8d91e refactor(cli): remove unused constants 2024-08-13 21:12:59 -03:00
Gustavo "Guz" L. de Mello
1d98883488 feat(cli): refactor the cli to use discord bot struct and database 2024-08-13 21:10:53 -03:00
Gustavo "Guz" L. de Mello
30654384af feat(discord,bot): discord bot struct 2024-08-13 21:09:43 -03:00
Gustavo "Guz" L. de Mello
ae891152fc feat(sqlite): move database initiation to constructor function 2024-08-13 21:09:09 -03:00