Ask coding questions

← Back to all posts
Discord.py reply error
Brain-Flooder

So I'm trying to make a little bot. When I run the "approve" command, it cause an error
'Context' object has no attribute 'reply'
I found out it's becuase my discord py version but somehow it's still not fixed. Can you help me?

Voters
Brain-Flooder
Comments
hotnewtop
SixBeeps

Your bot's Repl seems to be private. Could you share the relevant code?

Brain-Flooder

@SixBeeps I found out why
It's because Replit doesn't allow requirements.txt so I will need to use pyproject.toml instead.