☎️ Discord
Initialize and set Discord activity
🗿 Static Functions
Initialize | Initializes the Discord Integration with your custom client_id | |
SetActivity | Communicates with Discord and sets a custom user status |

InitializeModerate
Initializes the Discord Integration with your custom client_id
Discord.Initialize(client_id)
Parameters
| Name | Type | Descrição |
|---|---|---|
client_id | integer | Your Discord application client ID |

SetActivityOptimal
Communicates with Discord and sets a custom user status
Discord.SetActivity(state, details, large_image, large_text, reset_time?)
Parameters
| Name | Type | Descrição |
|---|---|---|
state | string | First line of the status |
details | string | Second line of the status |
large_image | string | Asset key of the large image, configured in your Discord application |
large_text | string | Tooltip of the large image |
reset_time? | boolean | Whether or not to reset current activity elapsed time Default false |
🚀 Events
This class doesn't have own events.

