core.discord.is_connected
Client
Retrieves whether the Discord client is currently authenticated and connected
Syntax
local result = core.discord.is_connected()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the Discord client is authenticated and connected, false otherwise |
Examples
core.engine.print("info", "Discord connected:", core.discord.is_connected())