AttributeError: __enter__
sentry-io opened this issue · 5 comments
sentry-io commented
Sentry Issue: SIR-LANCEBOT-91
AttributeError: __enter__
File "discord/ext/commands/core.py", line 229, in wrapped
ret = await coro(*args, **kwargs)
File "bot/exts/fun/snakes/_snakes_cog.py", line 601, in draw_command
with ctx.typing():
Unhandled command error: __enter__
wookie184 commented
There are a couple of occurences of with ctx.typing():
across the bot. These should all be changed to async with ctx.typing():
Changed in version 2.0: This no longer works with the with syntax, async with must be used instead.
mudkipdev commented
@wookie184 Hello, I can do this.
wookie184 commented
@wookie184 Hello, I can do this.
👍 I've assigned you
mudkipdev commented
Currently setting up my development environment
jchristgit commented
Hi @mudkipdev, can we help you out with your dev environment?