Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
5

Why isn't import discord working?

LunarStellar
LunarStellar

I was trying to work on my discord bot, everything was fine up until now. It says import discord is not a function

3 years ago

Voters

Comments

TopNew
1
SEGCommunity
SEGCommunity

can any one help me fix this problem

8 months ago
1
PotatoKat
PotatoKat

It does this for me too, i'm under the impression it has something to do with project requirements but I don't know what those are or how to access them.

2 years ago
1
SixBeeps
SixBeeps

Did it get removed from your project's requirements?

3 years ago
1
LunarStellar
LunarStellar

@SixBeeps
No, My requirement.txt has discord.py in the editor

3 years ago
1
SixBeeps
SixBeeps

@LunarStellar
requirements.txt is deprecated, so check the package manager instead

3 years ago
1
LunarStellar
LunarStellar

@SixBeeps
I've located the problem, Thank you.

3 years ago
1
LunarStellar
LunarStellar

i meant module,not function.

3 years ago
Load more