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

#include <guild.h>

Collaboration diagram for discord_add_guild_member:
[legend]

Data Fields

char * access_token
 
char * nick
 
struct snowflakesroles
 
bool mute
 
bool deaf
 

Detailed Description

Field Documentation

◆ access_token

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

◆ nick

char* discord_add_guild_member::nick

value to set user's nickname to

◆ roles

struct snowflakes* discord_add_guild_member::roles

array of role IDs the member is assigned

◆ mute

bool discord_add_guild_member::mute

whether the user is muted in voice channels

◆ deaf

bool discord_add_guild_member::deaf

whether the user is deafened in voice channels


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