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

#include <guild.h>

Collaboration diagram for discord_create_guild:
[legend]

Data Fields

char * reason
 
char * name
 
char * region
 
char * icon
 
enum discord_verification_level verification_level
 
enum discord_message_notification_level default_message_notifications
 
enum discord_explicit_content_filter_level explicit_content_filter
 
struct discord_rolesroles
 
struct discord_channelschannels
 
u64snowflake afk_channel_id
 
int afk_timeout
 
u64snowflake system_channel_id
 
u64bitmask system_channel_flags
 

Detailed Description

Field Documentation

◆ reason

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

◆ name

char* discord_create_guild::name

name of the guild (2-100 charaters)

◆ region

char* discord_create_guild::region

voice region ID

Deprecated:
deprecated field

◆ icon

char* discord_create_guild::icon

base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the server has the ANIMATED_ICON feature)

◆ verification_level

enum discord_verification_level discord_create_guild::verification_level

verification level

◆ default_message_notifications

enum discord_message_notification_level discord_create_guild::default_message_notifications

default message notification level

◆ explicit_content_filter

enum discord_explicit_content_filter_level discord_create_guild::explicit_content_filter

explicit content filter level

◆ roles

struct discord_roles* discord_create_guild::roles

new guild roles

◆ channels

struct discord_channels* discord_create_guild::channels

new guild's channels

◆ afk_channel_id

u64snowflake discord_create_guild::afk_channel_id

ID for afk channel

◆ afk_timeout

int discord_create_guild::afk_timeout

afk timeout in seconds

◆ system_channel_id

u64snowflake discord_create_guild::system_channel_id

the ID of the channel when guild notices such as welcome messages and boost events are posted

◆ system_channel_flags

u64bitmask discord_create_guild::system_channel_flags

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