Skip to content

How do I set the activity of my bot? #921

Answered by lukellmann
N0m4n904 asked this question in Help
Discussion options

You must be logged in to vote

you'll need to login into the gateway before editing presence:

kord.login()

// somewhere else in reaction to some event etc.
kord.editPresence { playing("a game") }

to set the presence at start, you can also use the login function directly:

kord.login {
    presence {
        playing("a game")
    }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@N0m4n904
Comment options

@lukellmann
Comment options

Answer selected by N0m4n904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants