Skip to content
Discussion options

You must be logged in to vote

You're overwriting the on_ready handler defined your Client class when you define the event again and add it via the @event decorator further below, as the library only supports having one of each event handler via the Client class.

You'll want to either combine the code inside the two functions, or sync your commands inside the setup_hook function instead.

Replies: 1 comment 2 replies

Comment options

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

@tailoric
Comment options

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