diff options
| author | 2025-05-17 09:53:30 +0100 | |
|---|---|---|
| committer | 2025-05-17 09:53:30 +0100 | |
| commit | 3335e3a41cef7811e9068c5cf8df200644c3cf5f (patch) | |
| tree | 01691c6c9066b81b8ab014a602df31224f8308fd | |
| parent | Add extra info about pre-release versions in snekbox output (diff) | |
Dynamically get the default snekbox Python version by looking at the first supported version
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/utils/snekbox/_cog.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/utils/snekbox/_cog.py b/bot/exts/utils/snekbox/_cog.py index 13c41686b..35a5c5e60 100644 --- a/bot/exts/utils/snekbox/_cog.py +++ b/bot/exts/utils/snekbox/_cog.py @@ -604,7 +604,7 @@ class Snekbox(Cog):          issue with it!          """          code: list[str] -        python_version = python_version or "3.13" +        python_version = python_version or get_args(SupportedPythonVersions)[0]          job = EvalJob.from_code("\n".join(code)).as_version(python_version)          await self.run_job(ctx, job) | 
