#Cannot import name 'listen' from 'interactions'
1 messages · Page 1 of 1 (latest)
@elder shoal Sorry. Moved to v4. I'm even confused about what version I should be using (I assume 5 but I cant' see how to install it in that case). FWIW I have discord-py-interactions in my requirements.txt.
if you just started your bot development, I would advise v5
it's not yet been released to pip as it's brand new
I rely on requirements.txt. How do I get it that way?
git+https://github.com/interactions-py/interactions.py.git@8879c856ba45c419b5ac274ea1023b583d1a86b5
^ latest commit, so all the bug fixes are present
I need to use requirements.txt
Will this error go away in v5? I'm just following the 4.4.0 docs verbatum.
yes, put that line in your file
this error is because you installed v4, not v5
@listen is a v5 function
Ah ok. It's in the 4.4. docs FWIW.