Configuration
Novus uses a few environment variables to configure itself. These support
.env
files via use of python-dotenv
. These variables change how the library
works at a base level, such as changing routes.
NOVUS_API_URL
: The base URL for the API. Defaults tohttps://discord.com/api/v10
NOVUS_CDN_URL
: The base URL for the CDN. Defaults tohttps://cdn.discordapp.com
NOVUS_GATEWAY_URL
: The base URL for the gateway. Defaults towss://gateway.discord.gg/?v=10&encoding=json