I\'m creating a bot for Discord, and I just wrote this simple code:
import discord TOKEN = \"token\" client = discord.Client() @client.event async def on
You can manually edit the file and change that line from create_task = asyncio.async to create_task = getattr(asyncio, 'async')
create_task = asyncio.async
create_task = getattr(asyncio, 'async')
See more info here: https://github.com/Rapptz/discord.py/issues/1249