$tempActivity
Temporarily set the bots activity status until the rotation interval changes it.

FUNCTION USAGE

  • $tempActivity[message]

Properties:

message - The new temporary activity status the bot will display until it permanently changes due to the status rotation interval.
If your activity status rotation interval is set to 30 seconds, the activity status will only be seen for 30 seconds and then removes it after rotating to the next status
Example: Setting the activity status
1
bot.Command({
2
name: "set-temp-activity",
3
code: `
4
$tempActivity[$message[]]
5
`
6
})
Copied!
Last modified 6mo ago
Copy link
Contents