Description Usage Arguments Resource Warning Examples
View source: R/api_updateclient.r
A Function which is being used to update the client's presence
1 | updates.presence(client, presence)
|
client |
The client object |
presence |
The presence object (named list) |
See https://discordapp.com/developers/docs/topics/gateway#update-status
Sending malformed payload will result in errors! don't panick :)
1 2 | ## Not run: update.presence(client, list(game=list(name="Hey!", type=0)))
## Not run: update.presence(client, list(game=list(name="Streaming!", type=1, url="https://twitch.tv/theonlyartz")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.