Skip to content
Discussion options

You must be logged in to vote

discord.Client does not have extensions or cogs. You need to use commands.Bot for that functionality.

Also, awaiting something must be done within an async function. You can use the setup_hook of your Bot subclass. And you should sync tree inside setup_hook too, rather than on_ready, since the former only triggers once and you would not need you to use self.synced.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@LeoCx1000
Comment options

@NavisGames
Comment options

@NavisGames
Comment options

@LeoCx1000
Comment options

@NavisGames
Comment options

Answer selected by NavisGames
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