mirror of
https://github.com/WCBROW01/zblock.git
synced 2025-12-11 20:18:07 -05:00
[main.c] Also clean up feeds on thread delete
This commit is contained in:
1
main.c
1
main.c
@ -606,6 +606,7 @@ int main(void) {
|
||||
discord_set_on_interaction_create(client, &on_interaction);
|
||||
discord_set_on_guild_delete(client, &on_guild_delete);
|
||||
discord_set_on_channel_delete(client, &on_channel_delete);
|
||||
discord_set_on_thread_delete(client, &on_channel_delete);
|
||||
|
||||
// register timers
|
||||
discord_timer_interval(client, timer_retrieve_feeds, NULL, NULL, FEED_TIMER_DELAY, FEED_TIMER_INTERVAL, -1);
|
||||
|
||||
Reference in New Issue
Block a user