Function TRAP::Utils::Discord::SetActivity#

Function Documentation#

bool TRAP::Utils::Discord::SetActivity(const Activity &activity)#

Set the activity of the game.

Remark

Headless mode: This function is not available in headless mode.

Parameters:

activityActivity to be displayed.

Returns:

True on success, false otherwise