Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing guide on Cogs #309

Closed
TasfiqulTapu opened this issue Apr 22, 2023 · 3 comments
Closed

Fixing guide on Cogs #309

TasfiqulTapu opened this issue Apr 22, 2023 · 3 comments

Comments

@TasfiqulTapu
Copy link

Is your feature request related to a problem? Please describe.
The guide on Cogs seems to be not working. First of all, it was never mentioned that bot.load_extension() needa to be awaited. Furthermore, function setup also needs to be an async function with bot.add_cog() requiring to be awaited

Describe the solution you'd like
Someone more experienced in Pycord needs to review if these problems are correct. If so, I can submit a PR with the changes necessary

Describe alternatives you've considered
Let everyone suffer 🤗

Additional context
Screenshot_2023-04-22-20-33-48-015-edit_com.replit.app.jpg
Screenshot_2023-04-22-20-34-25-618-edit_com.replit.app.jpg

@plun1331
Copy link
Member

For the guide to work, you need to be using pycord, not discord.py

@TasfiqulTapu
Copy link
Author

Sorry my bad. It seems that somehow discord.py and py-cord both got installed. I'll close this. Sorry for the inconvenience.

@Lulalaby
Copy link
Member

lol

@VincentRPS VincentRPS closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants