|
CCORDcode | discord_create_guild (struct discord *client, struct discord_create_guild *params, struct discord_ret_guild *ret) |
| Create a new guild. More...
|
|
CCORDcode | discord_get_guild (struct discord *client, u64snowflake guild_id, struct discord_ret_guild *ret) |
| Get the guild with given id. More...
|
|
CCORDcode | discord_get_guild_preview (struct discord *client, u64snowflake guild_id, struct discord_ret_guild_preview *ret) |
| Get the preview for the given guild. More...
|
|
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. More...
|
|
CCORDcode | discord_delete_guild (struct discord *client, u64snowflake guild_id, struct discord_ret *ret) |
| Delete a guild permanently, user must be owner. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
CCORDcode | discord_get_guild_bans (struct discord *client, u64snowflake guild_id, struct discord_ret_bans *ret) |
| Fetch banned users for given guild. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
CCORDcode | discord_get_guild_roles (struct discord *client, u64snowflake guild_id, struct discord_ret_roles *ret) |
| Get guild roles. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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) More...
|
|
CCORDcode | discord_get_guild_invites (struct discord *client, u64snowflake guild_id, struct discord_ret_invites *ret) |
| Get guild invites. More...
|
|
CCORDcode | discord_get_guild_integrations (struct discord *client, u64snowflake guild_id, struct discord_ret_integrations *ret) |
| Get guild integrations. More...
|
|
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. More...
|
|
CCORDcode | discord_get_guild_widget_settings (struct discord *client, u64snowflake guild_id, struct discord_ret_guild_widget_settings *ret) |
| Get a guild widget settings. More...
|
|
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. More...
|
|
CCORDcode | discord_get_guild_widget (struct discord *client, u64snowflake guild_id, struct discord_ret_guild_widget *ret) |
| Get the widget for the guild. More...
|
|
CCORDcode | discord_get_guild_vanity_url (struct discord *client, u64snowflake guild_id, struct discord_ret_invite *ret) |
| Get invite from a given guild. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
Guild public functions and datatypes.
- Author
- Cogmasters