Concord - C Discord API library
A Discord API wrapper library written in C
discord_create_guild_role Struct Reference

#include <guild.h>

Data Fields

char * reason
 
char * name
 
u64bitmask permissions
 
int color
 
bool hoist
 
char * icon
 
char * unicode_emoji
 
bool mentionable
 

Detailed Description

Field Documentation

◆ reason

char* discord_create_guild_role::reason
Parameters
reasona reason to indicate why the action was taken

◆ name

char* discord_create_guild_role::name

name of the role

Examples
guild.c.

◆ permissions

u64bitmask discord_create_guild_role::permissions

@everyone permissions in guild

◆ color

int discord_create_guild_role::color

RGB color value

◆ hoist

bool discord_create_guild_role::hoist

whether the role should be displayed separately in the sidebar

◆ icon

char* discord_create_guild_role::icon

the role's icon image (if the guild has the ROLE_ICONS feature)

◆ unicode_emoji

char* discord_create_guild_role::unicode_emoji

the role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)

◆ mentionable

bool discord_create_guild_role::mentionable

whether the role should be mentionable


The documentation for this struct was generated from the following file: