topisani/Discurses

async keyword now reserved resulting in runtime error

Closed this issue · 1 comments

https://docs.python.org/3.7/whatsnew/3.7.html#changes-in-python-behavior

  File "~/.pyenv/versions/3.7.0/lib/python3.7/site-packages/discurses/discord.py", line 69
    def async(self, f):
            ^
SyntaxError: invalid syntax

Ah, looks like it's an upstream issue too...

Either way, it would be good to adhere to the new syntax constraints. I can PR this as I already did the changes locally.