aboutsummaryrefslogtreecommitdiffstats
path: root/dev/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-12-12 22:07:20 +0400
committerGravatar GitHub <[email protected]>2022-12-12 22:07:20 +0400
commit9c728dff2351a0170b372fec76e2b5e15f8846f3 (patch)
tree930b4087edbd2cd8bf00cbdfc0a79dfdddf72646 /dev/bot/__main__.py
parentMerge pull request #162 from python-discord/handle-thread-close-on-interactin (diff)
parentMatrix test both 3.10 and 3.11 in CI (diff)
Merge pull request #151 from python-discord/Python-3.11v9.2.0
Python 3.11 support
Diffstat (limited to 'dev/bot/__main__.py')
-rw-r--r--dev/bot/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py
index 1b1a551a..e28be36b 100644
--- a/dev/bot/__main__.py
+++ b/dev/bot/__main__.py
@@ -31,4 +31,5 @@ async def main() -> None:
async with bot:
await bot.start(os.getenv("BOT_TOKEN"))
-asyncio.run(main())
+if os.getenv("IN_CI", "").lower() != "true":
+ asyncio.run(main())