From e4acd9f874acb9e8940c6200e57e01bac4ad3731 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Sat, 6 May 2023 12:38:07 +0100 Subject: use `get_secret_value` for client token --- bot/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/__main__.py') 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()) -- cgit v1.2.3