IsDiscordRichPresenceConnected
Jump to navigation
Jump to search
Syntax
bool isDiscordRichPresenceConnected()
OOP Syntax Help! I don't understand this!
- Method: DiscordRPC:isConnected(...)
Returns
Returns true if Discord Rich Presence is enabled on the client, false if disabled.
Example
This example outputs whether the client has enabled Discord Rich Presence.
addCommandHandler("checkdiscord", function () if isDiscordRichPresenceConnected() then outputChatBox("You are using Discord Rich Presence, that's cool!") end end )