This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <concord/discord.h> | |
#include <concord/log.h> | |
void on_message(struct discord *client, const struct discord_message *message) { | |
if (message->author->bot) return; | |
if (strcmp(".concord-test", message->content) == 0) { | |
struct discord_create_message params = { |