Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
Public Attributes | List of all members
discord Struct Reference

The Discord Client structure. More...

#include <discord-internal.h>

Collaboration diagram for discord:
Collaboration graph
[legend]

Public Attributes

struct sized_buffer token
 the bot token
 
struct discord_adapter adapter
 the HTTP adapter for performing requests
 
struct discord_gateway gw
 the WebSockets handle for establishing a connection to Discord
 
struct logconf config
 store bot.config file contents and sync logging between adapter/gw
 
struct discord_voice vcs [NUM_VCS]
 
struct discord_voice_cbs voice_cbs
 
void * data
 space for user arbitrary data More...
 

Detailed Description

The Discord Client structure.

Used to access/perform public functions from discord.h

Member Data Documentation

◆ data

void* discord::data

space for user arbitrary data

See also
discord_get_data() and discord_set_data()

The documentation for this struct was generated from the following file: