mirror of
https://github.com/WCBROW01/zblock.git
synced 2025-12-11 20:18:07 -05:00
[main.c] Once again COMPILE YOUR CODE. PLEASE.
This commit is contained in:
2
main.c
2
main.c
@ -237,6 +237,8 @@ static void bot_command_add(struct discord *client, const struct discord_interac
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void bot_command_remove(struct discord *client, const struct discord_interaction *event) {
|
static void bot_command_remove(struct discord *client, const struct discord_interaction *event) {
|
||||||
|
char msg[DISCORD_MAX_MESSAGE_LEN];
|
||||||
|
|
||||||
char *url = event->data->options->array[0].value;
|
char *url = event->data->options->array[0].value;
|
||||||
zblock_feed_info_err error = zblock_feed_info_delete(database_conn, url, event->channel_id);
|
zblock_feed_info_err error = zblock_feed_info_delete(database_conn, url, event->channel_id);
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user