diff options
author | 2025-05-31 05:14:25 +0100 | |
---|---|---|
committer | 2025-05-31 05:14:25 +0100 | |
commit | f97108139bced962cce1717f074a6c29ad6880d3 (patch) | |
tree | ca1af173a0442f0874963184dbb5760015f11efe | |
parent | 3.14 in snekbox (#3324) (diff) |
!timeit use 3.13 default
3.12 support has been removed but !timeit was not updated.
Corrects the error of inferior programmers like @ChrisLovering.
-rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index 0afd3c408..7ff21d2e6 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -639,13 +639,13 @@ class Snekbox(Cog): If multiple formatted codeblocks are provided, the first one will be the setup code, which will not be timed. The remaining codeblocks will be joined together and timed. - The currently supported verisons are 3.12, 3.13, and 3.13t. + The currently supported verisons are 3.13, 3.13t, and 3.14. We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it! """ code: list[str] - python_version = python_version or "3.12" + python_version = python_version or "3.13" args = self.prepare_timeit_input(code) job = EvalJob(args, version=python_version, name="timeit") |