-
Notifications
You must be signed in to change notification settings - Fork 52
error with starting #44
Comments
I believe you need to run the bot with python3 instead of python since only version 3.0 and up have async, or something like that. It worked for me to literally just use "python3" instead of the command "python" but I can't promise that'll work. |
that did not work unfortunally. im also getting a new error now Active code page: 65001
|
i figured it out it turns out that the bot does not work with the newest version on python. It may be a good idea to add that in the description! |
cause discord python only works on python 3.6, not 3.7 |
I'll need to update this issue unfortunately, I have python 3.6 installed (in local, I will host it later on a python 3.7 or 3.8). And the bot sends me this everytime I launch it Logged in as
WyvernBeta
632651106413182976
------
Ignoring exception in on_ready
Traceback (most recent call last):
File "C:\Users\EnderKiller06\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\client.py", line 242, in _run_event
await coro(*args, **kwargs)
File "C:\Data\Devellopement\BotDiscord\Discord-Werewolf-master\bot.py", line 91, in on_ready
for role in client.get_server(WEREWOLF_SERVER).role_hierarchy:
AttributeError: 'Client' object has no attribute 'get_server' |
This requires Python3.6 and Discord.py 0.16.x (I use 0.16.12) You can install 0.16.12 via this command "pip install discorc.py==0.16.12" |
i seem to get this error when ever i start up the bot
SyntaxError: invalid syntax
Restarting Bot..
File "bot.py", line 80
async def on_ready():
im running the bot on a google windows cloud server any help would be awesome
The text was updated successfully, but these errors were encountered: