Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <guild.h>
Data Fields | |
char * | reason |
char * | name |
u64bitmask | permissions |
int | color |
bool | hoist |
char * | icon |
char * | unicode_emoji |
bool | mentionable |
Public methods
discord_create_guild_role_from_json(const char json[], size_t len, struct discord_create_guild_role *this)
discord_create_guild_role_from_jsmnf(jsmnf *root, const char json[], struct discord_create_guild_role *this)
char* discord_create_guild_role::reason |
reason | a reason to indicate why the action was taken |
char* discord_create_guild_role::name |
name of the role
u64bitmask discord_create_guild_role::permissions |
@everyone
permissions in guild
int discord_create_guild_role::color |
RGB color value
bool discord_create_guild_role::hoist |
whether the role should be displayed separately in the sidebar
char* discord_create_guild_role::icon |
the role's icon image (if the guild has the ROLE_ICONS
feature)
char* discord_create_guild_role::unicode_emoji |
the role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS
feature)
bool discord_create_guild_role::mentionable |
whether the role should be mentionable