![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For connecting to a voice-channel. "streamInfo" is used when a socket is created to connect this bot to another bot, for transmitting audio back and forth. More...
#include <Utilities.hpp>
Public Data Members | |
Snowflake | channelId {} |
The channel id to connect to. | |
int32_t | currentShard {} |
The current websocket shard, if applicable. | |
Snowflake | guildId {} |
The guild id to connect to. | |
bool | selfDeaf {} |
Self-deafen the bot? | |
bool | selfMute {} |
Self-mute the bot? | |
StreamInfo | streamInfo {} |
The info for the stream-socket, if applicable. | |
Snowflake | userId {} |
This bot's user id. | |