change concord starter code to my style
This commit is contained in:
parent
ae59db9673
commit
46c887b19a
1 changed files with 4 additions and 4 deletions
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
sqlite3* db;
|
sqlite3* db;
|
||||||
|
|
||||||
void on_ready(struct discord *client, const struct discord_ready *msg) {
|
void on_ready(struct discord* client, const struct discord_ready* event) {
|
||||||
log_info("Logged in as %s!", msg->user->username);
|
log_info("Logged in as %s!", event->user->username);
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_message(struct discord* client, const struct discord_message* msg) {
|
void on_message(struct discord* client, const struct discord_message* msg) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue