Concord - C Discord API library
A Discord API wrapper library written in C
|
Caching of Discord resources. More...
Go to the source code of this file.
Enumerations | |
enum | discord_cache_options { DISCORD_CACHE_MESSAGES = 1 << 0 , DISCORD_CACHE_GUILDS = 1 << 1 } |
Functions | |
void | discord_cache_enable (struct discord *client, enum discord_cache_options options) |
const struct discord_message * | discord_cache_get_channel_message (struct discord *client, u64snowflake channel_id, u64snowflake message_id) |
Get a message from cache, only if locally available in RAM. More... | |
const struct discord_guild * | discord_cache_get_guild (struct discord *client, u64snowflake guild_id) |
Get a guild from cache, only if locally available in RAM. More... | |
Caching of Discord resources.