Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild.h>
Data Fields | |
char * | access_token |
char * | nick |
struct snowflakes * | roles |
bool | mute |
bool | deaf |
Public methods
discord_add_guild_member_from_json(const char json[], size_t len, struct discord_add_guild_member *this)
discord_add_guild_member_from_jsmnf(jsmnf *root, const char json[], struct discord_add_guild_member *this)
char* discord_add_guild_member::access_token |
an oauth2 access token granted with the guild.join
to the bot's application for the user you want to add in the guild
char* discord_add_guild_member::nick |
value to set user's nickname to
struct snowflakes* discord_add_guild_member::roles |
array of role IDs the member is assigned
bool discord_add_guild_member::mute |
whether the user is muted in voice channels
bool discord_add_guild_member::deaf |
whether the user is deafened in voice channels