Commit Graph

31 Commits

Author SHA1 Message Date
4aee41c9a8 [main.c] Use zblock_feed_info_minimal_free() instead of freeing these objects individually 2024-12-11 01:35:37 -05:00
4f3e00cb53 [main.c] Throw feed retrieval into a thread so it won't hold up the event loop 2024-11-27 11:29:37 -05:00
3d69dba0e6 Remove all feeds associated with a guild when the bot leaves 2024-11-26 01:46:22 -05:00
7120a04f92 [main.c] Complete list functionality 2024-11-25 22:32:00 -05:00
bba38b527e [main.c] Test buttons in list message 2024-11-25 16:40:29 -05:00
69be63aa2e Abstract out the last remaining SQL queries in timer_retrieve_feeds() 2024-11-25 00:52:41 -05:00
23ed4a7d96 [main.c] Make the list command return a basic embed 2024-11-24 23:36:43 -05:00
b2f76bf2a3 [main.c] Add small delay to timer so it doesn't trigger before login 2024-11-24 18:10:14 -05:00
145e92db13 [main.c] libpq will have status PGRES_TUPLES_OK when command is done 2024-11-24 17:38:18 -05:00
6fad41ba21 [main.c] Async (real) 2024-11-24 17:25:58 -05:00
828c2c8c4c [main.c] We love async 2024-11-24 17:18:55 -05:00
da16094410 Fix time parsing behavior 2024-11-24 12:45:30 -05:00
e1bbea325c [main.c] Attempt to fix feed retrieval 2024-11-24 11:47:01 -05:00
a7ee748e5d [main.c] Change feed message format 2024-11-23 21:00:32 -05:00
61104e182a [main.c] Fix feed retrieval code 2024-11-23 20:52:22 -05:00
4ef9902b48 [main.c] Move timer creation outside of on_ready() 2024-11-23 19:12:57 -05:00
d179fc46a2 Tell PQexecParams to obtain data in binary format 2024-11-23 18:32:56 -05:00
34bbdcf13e [main.c] Once again COMPILE YOUR CODE. PLEASE. 2024-11-23 17:23:49 -05:00
fdfc259435 Byte order called. You were about to make a huge mistake. 2024-11-23 17:22:18 -05:00
bf9e003e1e [main.c] Add remove command 2024-11-23 17:12:57 -05:00
ca6d37a1cf Add zblock_feed_info_update 2024-11-23 15:38:53 -05:00
388306d4a3 Move insert logic from add command into feed_info.c 2024-11-23 14:17:15 -05:00
2269ad3385 [main.c] Add log command to curl multi error 2024-11-23 01:00:26 -05:00
7e7512a555 [main.c] Add more logging 2024-11-22 23:57:56 -05:00
6acbecf828 [main.c] Maybe compile your code first 2024-11-22 22:23:29 -05:00
d2863ec148 [main.c] Complete functionality for add command 2024-11-22 22:18:05 -05:00
082a185ba3 [main.c] Remove old timer code 2024-11-22 19:25:06 -05:00
ae2ec6f662 Add preliminary code for database (this really needs to be cleaned) 2024-11-22 19:20:44 -05:00
cd90d62b2c Extract feed_info struct and save routine to its own file
Also start creating basic framework for config
2024-11-21 16:18:26 -05:00
b014f835b6 Send all new entries in a feed, not just the first 2024-11-20 23:29:38 -05:00
713a266f15 Add basic functionality (barely) 2024-11-20 20:15:45 -05:00