Concord - C Discord API library
A Discord API wrapper library written in C
|
Requests made by the client to the Gateway socket. More...
Functions | |
void | discord_request_guild_members (struct discord *client, struct discord_request_guild_members *request) |
Request all members for a guild or a list of guilds. More... | |
void | discord_update_voice_state (struct discord *client, struct discord_update_voice_state *update) |
Sent when a client wants to join, move or disconnect from a voice channel. More... | |
void | discord_update_presence (struct discord *client, struct discord_presence_update *presence) |
Update the client presence status. More... | |
void | discord_set_presence (struct discord *client, struct discord_presence_update *presence) |
Set the client presence status. More... | |
Requests made by the client to the Gateway socket.
void discord_request_guild_members | ( | struct discord * | client, |
struct discord_request_guild_members * | request | ||
) |
Request all members for a guild or a list of guilds.
client | the client created with discord_init() |
request | request guild members information |
void discord_update_voice_state | ( | struct discord * | client, |
struct discord_update_voice_state * | update | ||
) |
Sent when a client wants to join, move or disconnect from a voice channel.
client | the client created with discord_init() |
update | request guild members information |
void discord_update_presence | ( | struct discord * | client, |
struct discord_presence_update * | presence | ||
) |
Update the client presence status.
client | the client created with discord_init() |
presence | status to update the client's to |
void discord_set_presence | ( | struct discord * | client, |
struct discord_presence_update * | presence | ||
) |
Set the client presence status.
client | the client created with discord_init() |
presence | status to update the client's to |