belguawhale / Discord-Werewolf

A discord bot that runs a game of Werewolf.
MIT License
81 stars 52 forks source link

Error on start #88

Open PssbleTrngle opened 3 years ago

PssbleTrngle commented 3 years ago

I keep getting this error when trying to start the bot on the latest version. I'm using python 3.6.8 as mentioned in the README

BACKING UP SETTINGS
Traceback (most recent call last):
  File "/werewolf/bot.py", line 6399, in <module>
    client.loop.run_until_complete(client.start(TOKEN))
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 489, in start
    yield from self.login(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 416, in login
    yield from getattr(self, '_login_' + str(n))(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 346, in _login_1
    data = yield from self.http.static_login(token, bot=is_bot)
  File "/usr/local/lib/python3.6/site-packages/discord/http.py", line 258, in static_login
    data = yield from self.request(Route('GET', '/users/@me'))
  File "/usr/local/lib/python3.6/site-packages/discord/http.py", line 203, in request
    yield from r.release()
TypeError: 'noop' object is not iterable