Switching to fetchval
This commit is contained in:
parent
9ef06824a7
commit
6d8f3531a7
@ -156,7 +156,7 @@ class Repl:
|
|||||||
if ctx.author.id != ownerid:
|
if ctx.author.id != ownerid:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
body = self.cleanup_code(body).split(' ')
|
body = self.cleanup_code(body)
|
||||||
result = await asyncio.wait_for(self.bot.loop.create_task(run_command(body)), 10)
|
result = await asyncio.wait_for(self.bot.loop.create_task(run_command(body)), 10)
|
||||||
value = result
|
value = result
|
||||||
for page in paginate(value):
|
for page in paginate(value):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user