dscrd
Discord C library
Data Fields
DiscordGuild_s Struct Reference

Discord guild. More...

#include <dscrd.h>

Collaboration diagram for DiscordGuild_s:
Collaboration graph
[legend]

Data Fields

char id [21]
 guild id More...
 
uint8_t _type
 
char * name
 guild name More...
 
char * icon
 icon hash More...
 
char * splash
 splash hash (?) More...
 
bool owner
 whether or not the user is the owner of the guild More...
 
char owner_id [21]
 id of owner More...
 
int permissions
 total permissions for the user in the guild (does not include channel overrides) More...
 
char * region
 voice region id for the guild More...
 
char afk_channel_id [21]
 id of afk channel More...
 
int afk_timeout
 afk timeout in seconds More...
 
bool embed_enabled
 is this guild embeddable (e.g. widget) More...
 
char embed_channel_id [21]
 id of embedded channel More...
 
int verification_level
 verification level required for the guild More...
 
int default_message_notifications
 default message notifications level More...
 
int explicit_content_filter
 explicit content filter level More...
 
char ** features
 roles in the guild More...
 
int mfa_level
 required MFA level for the guild More...
 
char application_id [21]
 application id of the guild creator if it is bot-created More...
 
bool widget_enabled
 whether or not the server widget is enabled More...
 
char widget_channel_id [21]
 the channel id for the server widget More...
 
char system_channel_id [21]
 the id of the channel to which system messages are sent More...
 
struct DiscordClient_sdiscord_client
 

Detailed Description

Discord guild.

See also
DiscordGuild_s for detailed element documentation.

Field Documentation

◆ _type

uint8_t _type

◆ afk_channel_id

char afk_channel_id[21]

id of afk channel

◆ afk_timeout

int afk_timeout

afk timeout in seconds

◆ application_id

char application_id[21]

application id of the guild creator if it is bot-created

◆ default_message_notifications

int default_message_notifications

default message notifications level

◆ discord_client

struct DiscordClient_s* discord_client

◆ embed_channel_id

char embed_channel_id[21]

id of embedded channel

◆ embed_enabled

bool embed_enabled

is this guild embeddable (e.g. widget)

◆ explicit_content_filter

int explicit_content_filter

explicit content filter level

◆ features

char** features

roles in the guild

emojis features

◆ icon

char* icon

icon hash

◆ id

char id[21]

guild id

◆ mfa_level

int mfa_level

required MFA level for the guild

◆ name

char* name

guild name

◆ owner

bool owner

whether or not the user is the owner of the guild

◆ owner_id

char owner_id[21]

id of owner

◆ permissions

total permissions for the user in the guild (does not include channel overrides)

◆ region

char* region

voice region id for the guild

◆ splash

char* splash

splash hash (?)

◆ system_channel_id

char system_channel_id[21]

the id of the channel to which system messages are sent

◆ verification_level

int verification_level

verification level required for the guild

◆ widget_channel_id

char widget_channel_id[21]

the channel id for the server widget

◆ widget_enabled

bool widget_enabled

whether or not the server widget is enabled


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