aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2022-01-27 10:47:05 -0500
committerGravatar ToxicKidz <[email protected]>2022-01-27 10:47:05 -0500
commit7b84217c075cbdc00b8eb9862365448f8e681d9e (patch)
tree5c6007a5325592e0bfa4833fb58d2d5e6febe31d
parentchore: Switch Snekbox.prepare_input with a CodeblockConverter (diff)
fix: Change the return type of the timeit command to None
-rw-r--r--bot/exts/utils/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index 41f6bf8ad..ce3dd7c24 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -419,7 +419,7 @@ class Snekbox(Cog):
channels=NO_SNEKBOX_CHANNELS,
ping_user=False
)
- async def timeit_command(self, ctx: Context, *, code: CodeblockConverter) -> str:
+ async def timeit_command(self, ctx: Context, *, code: CodeblockConverter) -> None:
"""
Profile Python Code to find execution time.