Actions44
- Message Actions
- User Profile Actions
- Server Actions
- Channel Actions
- Role Actions
- Member Actions
- Presence Actions
- Invite Actions
Presence → Set Activity
AI-generatedSummary
Sets the Discord user's activity (playing, streaming, etc.) to the specified name.
Inputs
- activityType (required) — Type of activity (Playing, Streaming, Listening, Watching, Competing). Accepted but ignored by the current implementation; only activityName is used to set the activity.
- activityName (required) — The name of the activity to set.
- streamUrl — URL for stream activity (only visible when activityType is Streaming). Accepted but ignored by the current implementation.
Output shape
object
Returns an object indicating success and the activity name that was set.
Examples
Example 1: Set activity to 'Playing Chess'
activityType: Playing (ignored), activityName: Chess, streamUrl: (empty)
Example 2: Set activity to 'Streaming on Twitch'
activityType: Streaming (ignored), activityName: Streaming on Twitch, streamUrl: https://twitch.tv/channel (ignored)