Question, how do i get a module for discord, i would like to run a discord bot but when i run the python script, it says no module (Discord)
Question, how do i get a module for discord, i would like to run a discord bot but when i run the python script, it says no module (Discord)
You can install new modules using these instructions. The module name to use in place of pwhich
is simply discourse
.
It's worth noting, though, that the Discourse WebSockets ("push") API won't work from a free PythonAnywhere account, only the simple query-response HTTP one will. Both should work fine from a paid account.
I said Discord not Discourse
My apologies, that was actually a typo in my response. Just replace "discourse" with "discord" in what I said...
the commands you gave me arent working
Ugh, I give up
According to the github page for discord, the correct pip package is discord.py
did you try pip install --user discord.py
This is fairly atypical as far as pypi package naming goes.