Closed squigjess closed 2 years ago
Thanks for bringing this up. The error indicates a blatant oversight on my end, obviously discord
is not installed when you're running nextcord
or any other fork most likely so the import fails. You might be able to get away with installing discord.py in your project until I can fix this. So you would have both nextcord and discord installed, but your bot would still run on nextcord.
That's absolutely valid. In lieu of Nextcord compatibility, I've ported this project over to nextcord-pretty-help
to avoid having to implement and consider supporting both libraries (there are some minor yet code-breaking differences between Discord.py and Nextcord, one of which popped up here and prevented me from simply name-swapping import discord
to import nextcord
.
https://github.com/squigjess/nextcord-pretty-help
I'm keen to maintain this fork alongside discord-pretty-help
, if it takes any load off your shoulders. I would really appreciate it if this is linked somewhere in the README for discord-pretty-help
!
My project currently uses Nextcord, a fork of discord.py that works as a drop-in replacement for discord.py.
When importing and invoking
discord-pretty-help
like below......Python throws a
ModuleNotFoundError
, with the reasonNo module named 'discord.ext.commands.help'
. Full traceback is at the bottom of this issue.Given that
discord-pretty-help
claims to (probably) support forks ofdiscord.py
on the PyPi page, I'm wondering if this is a bug or if I may have forgotten something.Happy to help troubleshoot as needed!