aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-06 12:38:07 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:47 +0100
commite4acd9f874acb9e8940c6200e57e01bac4ad3731 (patch)
tree30c15e388818421ca510a365a511d7d721a65d58
parentgive empty str as default to tokens (diff)
use `get_secret_value` for client token
-rw-r--r--bot/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 934dc0a9..1b6b9f1e 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -81,7 +81,7 @@ async def main() -> None:
if constants.Client.in_ci:
await test_bot_in_ci(_bot)
else:
- await _bot.start(constants.Client.token)
+ await _bot.start(constants.Client.token.get_secret_value())
asyncio.run(main())