def run_jojo(ctx):
Browse files
app.py
CHANGED
@@ -41,9 +41,9 @@ async def active(ctx):
|
|
41 |
@bot.command()
|
42 |
async def jojo(ctx):
|
43 |
#new
|
44 |
-
await asyncio.get_running_loop().run_in_executor(None,
|
45 |
|
46 |
-
|
47 |
safety = await safety_checks(ctx)
|
48 |
if safety:
|
49 |
start_time = time.time()
|
|
|
41 |
@bot.command()
|
42 |
async def jojo(ctx):
|
43 |
#new
|
44 |
+
await asyncio.get_running_loop().run_in_executor(None, run_jojo, ctx #do magically
|
45 |
|
46 |
+
def run_jojo(ctx):
|
47 |
safety = await safety_checks(ctx)
|
48 |
if safety:
|
49 |
start_time = time.time()
|