diff options
| author | Capn <[email protected]> | 2018-10-12 14:03:33 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-11-24 22:17:58 -0500 |
| commit | dd5762d9ed540c4cf65dd945b1e224528f36a330 (patch) | |
| tree | 7c9c3594a359399d145869a513ba2ec830ef24af /examples | |
| parent | [lint] Removed unused variable handler (diff) | |
| download | discord.py-dd5762d9ed540c4cf65dd945b1e224528f36a330.tar.xz discord.py-dd5762d9ed540c4cf65dd945b1e224528f36a330.zip | |
Add missing asyncio imports from the examples
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/background_task.py | 1 | ||||
| -rw-r--r-- | examples/edits.py | 1 | ||||
| -rw-r--r-- | examples/guessing_game.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/background_task.py b/examples/background_task.py index af2dac2c..a72862fb 100644 --- a/examples/background_task.py +++ b/examples/background_task.py @@ -1,4 +1,5 @@ import discord +import asyncio class MyClient(discord.Client): def __init__(self, *args, **kwargs): diff --git a/examples/edits.py b/examples/edits.py index 911c582f..2c1db4d9 100644 --- a/examples/edits.py +++ b/examples/edits.py @@ -1,4 +1,5 @@ import discord +import asyncio class MyClient(discord.Client): async def on_ready(self): diff --git a/examples/guessing_game.py b/examples/guessing_game.py index 50f0371b..a8f09c63 100644 --- a/examples/guessing_game.py +++ b/examples/guessing_game.py @@ -1,5 +1,6 @@ import discord import random +import asyncio class MyClient(discord.Client): async def on_ready(self): |