mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Add missing asyncio imports from the examples
This commit is contained in:
1 parent
1c3a5831f9
commit
dd5762d9ed
3 files changed
+3
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
import discord
|
import discord
|
||||||
|
import asyncio
|
||||||
|
|
||||||
class MyClient(discord.Client):
|
class MyClient(discord.Client):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import discord
|
import discord
|
||||||
|
import asyncio
|
||||||
|
|
||||||
class MyClient(discord.Client):
|
class MyClient(discord.Client):
|
||||||
async def on_ready(self):
|
async def on_ready(self):
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import discord
|
import discord
|
||||||
import random
|
import random
|
||||||
|
import asyncio
|
||||||
|
|
||||||
class MyClient(discord.Client):
|
class MyClient(discord.Client):
|
||||||
async def on_ready(self):
|
async def on_ready(self):
|
||||||
|
|||||||
Reference in new issue
Block a user