571 struct discord_ret_png *ret);
CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
CCORDcode discord_modify_guild(struct discord *client, u64snowflake guild_id, struct discord_modify_guild *params, struct discord_ret_guild *ret)
Modify a guild's settings.
CCORDcode discord_get_guild_bans(struct discord *client, u64snowflake guild_id, struct discord_ret_bans *ret)
Fetch banned users for given guild.
CCORDcode discord_modify_current_member(struct discord *client, u64snowflake guild_id, struct discord_modify_current_member *params, struct discord_ret_guild_member *ret)
Modifies the current member in the guild.
CCORDcode discord_get_guild_preview(struct discord *client, u64snowflake guild_id, struct discord_ret_guild_preview *ret)
Get the preview for the given guild.
CCORDcode discord_delete_guild_role(struct discord *client, u64snowflake guild_id, u64snowflake role_id, struct discord_delete_guild_role *params, struct discord_ret *ret)
Delete a guild role.
CCORDcode discord_get_guild_member(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_ret_guild_member *ret)
Get guild member of a guild from given user id.
CCORDcode discord_delete_guild_integrations(struct discord *client, u64snowflake guild_id, u64snowflake integration_id, struct discord_delete_guild_integrations *params, struct discord_ret *ret)
Deletes the integration for the guild. It will also delete any associated webhooks and bots.
CCORDcode discord_remove_guild_ban(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_remove_guild_ban *params, struct discord_ret *ret)
Remove the ban for a user.
CCORDcode discord_modify_user_voice_state(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_modify_user_voice_state *params, struct discord_ret *ret)
Updates user's voice state.
CCORDcode discord_modify_guild_role_positions(struct discord *client, u64snowflake guild_id, struct discord_modify_guild_role_positions *params, struct discord_ret_roles *ret)
Modify the positions of a given role list for the guild.
CCORDcode discord_get_guild(struct discord *client, u64snowflake guild_id, struct discord_ret_guild *ret)
Get the guild with given id.
CCORDcode discord_modify_guild_role(struct discord *client, u64snowflake guild_id, u64snowflake role_id, struct discord_modify_guild_role *params, struct discord_ret_role *ret)
Modify a guild role.
CCORDcode discord_get_guild_vanity_url(struct discord *client, u64snowflake guild_id, struct discord_ret_invite *ret)
Get invite from a given guild.
CCORDcode discord_add_guild_member(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_add_guild_member *params, struct discord_ret_guild_member *ret)
Adds a user to the guild.
CCORDcode discord_create_guild_role(struct discord *client, u64snowflake guild_id, struct discord_create_guild_role *params, struct discord_ret_role *ret)
Create a new guild role.
CCORDcode discord_get_guild_integrations(struct discord *client, u64snowflake guild_id, struct discord_ret_integrations *ret)
Get guild integrations.
CCORDcode discord_get_guild_channels(struct discord *client, u64snowflake guild_id, struct discord_ret_channels *ret)
Fetch channels from given guild. Does not include threads.
CCORDcode discord_get_guild_prune_count(struct discord *client, u64snowflake guild_id, struct discord_get_guild_prune_count *params, struct discord_ret_prune_count *ret)
Returns the number of members that would be removed in a prune operation.
CCORDcode discord_get_guild_ban(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_ret_ban *ret)
Fetch banned user from given guild.
CCORDcode discord_modify_current_user_voice_state(struct discord *client, u64snowflake guild_id, struct discord_modify_current_user_voice_state *params, struct discord_ret *ret)
Updates the current user's voice state.
CCORDcode discord_begin_guild_prune(struct discord *client, u64snowflake guild_id, struct discord_begin_guild_prune *params, struct discord_ret *ret)
Begin guild prune operation.
CCORDcode discord_search_guild_members(struct discord *client, u64snowflake guild_id, struct discord_search_guild_members *params, struct discord_ret_guild_members *ret)
Get guild members whose username or nickname starts with a provided string.
CCORDcode discord_modify_guild_welcome_screen(struct discord *client, u64snowflake guild_id, struct discord_modify_guild_welcome_screen *params, struct discord_ret_welcome_screen *ret)
Modify the Welcome Screen for the guild.
CCORDcode discord_remove_guild_member(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_remove_guild_member *params, struct discord_ret *ret)
Remove a member from a guild.
CCORDcode discord_list_guild_members(struct discord *client, u64snowflake guild_id, struct discord_list_guild_members *params, struct discord_ret_guild_members *ret)
Get guild members of a guild.
CCORDcode discord_get_guild_widget_settings(struct discord *client, u64snowflake guild_id, struct discord_ret_guild_widget_settings *ret)
Get a guild widget settings.
CCORDcode discord_create_guild_ban(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_create_guild_ban *params, struct discord_ret *ret)
Bans user from a given guild.
CCORDcode discord_get_guild_roles(struct discord *client, u64snowflake guild_id, struct discord_ret_roles *ret)
Get guild roles.
CCORDcode discord_modify_guild_member(struct discord *client, u64snowflake guild_id, u64snowflake user_id, struct discord_modify_guild_member *params, struct discord_ret_guild_member *ret)
Modify retibutes of a guild member.
CCORDcode discord_modify_current_user_nick(struct discord *client, u64snowflake guild_id, struct discord_modify_current_user_nick *params, struct discord_ret_guild_member *ret)
Modify the nickname of the current user in a guild.
CCORDcode discord_get_guild_invites(struct discord *client, u64snowflake guild_id, struct discord_ret_invites *ret)
Get guild invites.
CCORDcode discord_modify_guild_channel_positions(struct discord *client, u64snowflake guild_id, struct discord_modify_guild_channel_positions *params, struct discord_ret *ret)
Modify guild channel positions.
CCORDcode discord_modify_guild_widget(struct discord *client, u64snowflake guild_id, struct discord_guild_widget_settings *params, struct discord_ret_guild_widget_settings *ret)
Modify a guild widget settings.
CCORDcode discord_get_guild_welcome_screen(struct discord *client, u64snowflake guild_id, struct discord_ret_welcome_screen *ret)
Get the Welcome Screen for the guild.
CCORDcode discord_add_guild_member_role(struct discord *client, u64snowflake guild_id, u64snowflake user_id, u64snowflake role_id, struct discord_add_guild_member_role *params, struct discord_ret *ret)
Adds a role to a guild member.
CCORDcode discord_delete_guild(struct discord *client, u64snowflake guild_id, struct discord_ret *ret)
Delete a guild permanently, user must be owner.
CCORDcode discord_create_guild(struct discord *client, struct discord_create_guild *params, struct discord_ret_guild *ret)
Create a new guild.
CCORDcode discord_create_guild_channel(struct discord *client, u64snowflake guild_id, struct discord_create_guild_channel *params, struct discord_ret_channel *ret)
Create a new guild channel.
CCORDcode discord_remove_guild_member_role(struct discord *client, u64snowflake guild_id, u64snowflake user_id, u64snowflake role_id, struct discord_remove_guild_member_role *params, struct discord_ret *ret)
Removes a role from a guild member.
CCORDcode discord_get_guild_voice_regions(struct discord *client, u64snowflake guild_id, struct discord_ret_voice_regions *ret)
Get voice regions (includes VIP servers when the guild is VIP-enabled)
CCORDcode discord_get_guild_widget(struct discord *client, u64snowflake guild_id, struct discord_ret_guild_widget *ret)
Get the widget for the guild.
Request's return context.
Definition: discord-response.h:108
Request's return context.
Definition: discord-response.h:109
Request's return context.
Definition: discord-response.h:84
Request's return context.
Definition: discord-response.h:85
Request's return context.
Definition: discord-response.h:104
Request's return context.
Definition: discord-response.h:105
Request's return context.
Definition: discord-response.h:103
Request's return context.
Definition: discord-response.h:101
Request's return context.
Definition: discord-response.h:113
Request's return context.
Definition: discord-response.h:132
Request's return context.
Definition: discord-response.h:133
Request's return context.
Definition: discord-response.h:114
Request's return context.
Definition: discord-response.h:110
Request's return context.
Definition: discord-response.h:111
Request's return context.
Definition: discord-response.h:157
Request's return context.
Definition: discord-response.h:112
Request's return context.
Definition: discord-response.h:54
The Discord client handler.
Definition: discord-internal.h:1190