pub fn activity(kind: ActivityType, name: impl Into<String>) -> ActivityExpand description
An activity of kind named name, for Client::set_presence.
Set details, state, started_at, url (streaming) or emoji (custom) on it as needed.
pub fn activity(kind: ActivityType, name: impl Into<String>) -> ActivityAn activity of kind named name, for Client::set_presence.
Set details, state, started_at, url (streaming) or emoji (custom) on it as needed.