Commands do not work #96
Replies: 3 comments 6 replies
-
If you're running the commands with the same account, then you need to set either Else, it's a code issue. |
Beta Was this translation helpful? Give feedback.
-
yo, how did you get the cool ass ui thing, ive got a similar thingo but its just using a shell terminal with some colored ascii text, but thats sick as |
Beta Was this translation helpful? Give feedback.
-
I ran into the same problem and found that the commands functionality in the self_bot version of the discord.py library simply did not work. I fixed it by calling on_message(), checking if the message was sent in a specified channel, and then comparing it to a dictionary with {"name_of_func":func_call} {key:value} pairs. While this may not be the best solution in terms of what was intended for this library, it works and I do not feel as though it is too much more resource-intensive with its checks than regular discord commands. Hopefully this helps anyone who was stuck on this issue. |
Beta Was this translation helpful? Give feedback.
-
Hello, i used the libary quite often and the selfbot commands worked well however i now stated the selfbot again and got a "tooken is invalid" even tho it was valid i then noticed that the issue was to uninstall discord.py and install discord.py-self so i did. After executing the script it did tell me "logged in as testuser#0001" i then tried to run commands on the account but well there is just no response even tho these commands exist and work when i use them in a usual bot using usual discord.py:
Beta Was this translation helpful? Give feedback.
All reactions