setUserEmojiStatus
Set the emoji status of a bot’s user. Bot-only.
Parameters
The identifier of a user of the bot.
id: string
The identifier of the emoji to be used as the new status.
until?: Date
If specified, the emoji status will be unset in that date.
Result
void
Syntax
// Required parameters only.
await client.setUserEmojiStatus(userId, id);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setUserEmojiStatus(userId, id, { until });