aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/__main__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-02-02 16:17:40 +0000
committerGravatar Chris Lovering <[email protected]>2024-02-02 16:17:40 +0000
commit25b2e539fc99f2c60bbb74d3f4c5e212a741da53 (patch)
treed387537f332dcdac2e3f0ff8b310615d04b3a308 /arthur/__main__.py
parentEnable all ruff rules (diff)
Mark bot token & CF token as secret strings
This avoids them being printed in logs
Diffstat (limited to 'arthur/__main__.py')
-rw-r--r--arthur/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/__main__.py b/arthur/__main__.py
index d5cfffd..53e1fb3 100644
--- a/arthur/__main__.py
+++ b/arthur/__main__.py
@@ -31,7 +31,7 @@ async def main() -> None:
intents=intents,
)
async with arthur.instance as bot:
- await bot.start(CONFIG.token)
+ await bot.start(CONFIG.token.get_secret_value())
with arthur.logger.catch():