CCORDcode
Definition: error.h:12
uint64_t u64snowflake
Snowflake datatype.
Definition: types.h:28
CCORDcode discord_create_dm(struct discord *client, struct discord_create_dm *params, struct discord_ret_channel *ret)
Create a new DM channel with a given user.
CCORDcode discord_get_current_user_guilds(struct discord *client, struct discord_ret_guilds *ret)
Get guilds client is a member of.
CCORDcode discord_get_current_user(struct discord *client, struct discord_ret_user *ret)
Get client's user.
CCORDcode discord_modify_current_user(struct discord *client, struct discord_modify_current_user *params, struct discord_ret_user *ret)
Modify client's user account settings.
CCORDcode discord_leave_guild(struct discord *client, u64snowflake guild_id, struct discord_ret *ret)
Leave a guild.
CCORDcode discord_create_group_dm(struct discord *client, struct discord_create_group_dm *params, struct discord_ret_channel *ret)
Create a new group DM channel with multiple users.
CCORDcode discord_get_user(struct discord *client, u64snowflake user_id, struct discord_ret_user *ret)
Get user for a given id.
CCORDcode discord_get_user_connections(struct discord *client, struct discord_ret_connections *ret)
Get a list of connection objects.
Request's return context.
Definition: discord-response.h:84
Request's return context.
Definition: discord-response.h:152
Request's return context.
Definition: discord-response.h:102
Request's return context.
Definition: discord-response.h:150
Request's return context.
Definition: discord-response.h:54
The Discord client handler.
Definition: discord-internal.h:1190