#Module 'discord' has no attribute 'ext'

1 messages · Page 1 of 1 (latest)

rapid mauve
#

I can't use py-cord extensions because I get an error.

#
>>> discord.ext
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'discord' has no attribute 'ext'
>>> discord
<module 'discord' from 'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\discord\\__init__.py'>```
#

I don't have Discord.py or anything like that installed

wary cobalt
rapid mauve
#

oh my fucking god I just needed to check discord.ext.commands, not discord.ext itself cause it doesn't have an init

rapid mauve
wary cobalt
#

Uninstall that and py-cord

#

And only reinstall py-cord

rapid mauve
#

ok that's fixed, thanks

wary cobalt
#

.close

versed orbitBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @pale sinew.

Backup bot: </solved:1109625445990793246> (or .solved) with @versed orbit.