get rid of pointless logging

This commit is contained in:
raxracks 2024-02-29 13:23:49 +00:00
parent d647aad6bc
commit 84c89564a0

View file

@ -11,8 +11,7 @@ void on_ready(struct discord *client, const struct discord_ready *msg) {
}
void on_message(struct discord *client, const struct discord_message *msg) {
log_info("%s", msg->content);
if(msg->type == DISCORD_MESSAGE_REPLY && msg->content != NULL) {
if(msg->type == DISCORD_MESSAGE_REPLY && msg->content != NULL) {
char buf[1024];
sprintf(buf, "INSERT INTO messages(message, reply)"
"VALUES('%s', '%s')",