Functionalities
Functions
Data
Other
$activity
Returns a users game they're playing or the program they're running if they have their game status turned on.

FUNCTION USAGE

  • $activity
  • $activity[]
  • $activity[userID]

Properties:

userID - Define a userID to return another users activity presence! [] - Leave blank for command authors activity presence

Example 1: Command author's activity

bot.Command({
name: "activity",
code: `
$activity - This is your activity (Visual Studio Code, Netflix, etc...)
`
})

Example 2: Someone else's activity

bot.Command({
name: "activity",
code: `
$username[$replaceText[$replaceText[$checkCondition[$findUser[$message[]]==undefined];true;$authorID];false;$findUser[$message[]]]'s current activity is:
$activity[$replaceText[$replaceText[$checkCondition[$findUser[$message[]]==undefined];true;$authorID];false;$findUser[$message[]]]
`
})
Last modified 1yr ago
Copy link