|
Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
|
#include <discord.h>
Public Attributes | |
| char | url [1024] |
| The WSS URL that can be used for connecting to the gateway. | |
| int | shards |
| The recommended number of shards to use when connecting. | |
| int | total |
| the total number of session starts the current user is allowed | |
| int | remaining |
| the remaining number of session starts the current user is allowed | |
| int | reset_after |
| the number of milliseconds after which the limit resets | |
| int | max_concurrency |
| the number of identify requests allowed per 5 seconds | |
| int | concurrent |
| active concurrent sessions | |
| u64_unix_ms_t | identify_tstamp |
| timestamp of last succesful identify request | |
| u64_unix_ms_t | event_tstamp |
| timestamp of last succesful event timestamp in ms (resets every 60s) | |
| int | event_count |
| event counter to avoid reaching limit of 120 events per 60 sec | |
1.8.17