aboutsummaryrefslogtreecommitdiffstats
path: root/dev/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-10-26 15:22:36 +0100
committerGravatar Chris Lovering <[email protected]>2022-12-11 13:46:53 +0000
commit4c1997790a2b0ee295bfe6909570f888ad82db8c (patch)
treeabc0e5486b21aced482bb2344cfa6d1251dbdeb5 /dev/bot/__main__.py
parentUpdate dockerignore to include dev dir (diff)
Add a dry run step to lint & test CI
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())