aboutsummaryrefslogtreecommitdiffstats
path: root/dev/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-09-10 20:45:54 +0100
committerGravatar Chris Lovering <[email protected]>2022-09-11 01:15:23 +0100
commitce894c0706d64756cdcd046f5729958425a803fc (patch)
tree67e2a31a2cae94adab7c5a8195a6de217d69d0df /dev/bot/__main__.py
parentDon't mount project root in docker-compose (diff)
Use BOT_TOKEN in example project
This is so that we use the same env var as metricity, remove the need for duplicate env vars.
Diffstat (limited to 'dev/bot/__main__.py')
-rw-r--r--dev/bot/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py
index 00ebdefc..42d212c2 100644
--- a/dev/bot/__main__.py
+++ b/dev/bot/__main__.py
@@ -29,6 +29,6 @@ async def main() -> None:
"""Run the bot."""
bot.http_session = aiohttp.ClientSession()
async with bot:
- await bot.start(os.getenv("TOKEN"))
+ await bot.start(os.getenv("BOT_TOKEN"))
asyncio.run(main())