From 65d87e357d262ff973b142e19e79442a0406e921 Mon Sep 17 00:00:00 2001 From: Myned Date: Wed, 23 Feb 2022 00:18:54 -0600 Subject: [PATCH] Change status to be optional --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 68db200..92168dc 100644 --- a/run.py +++ b/run.py @@ -35,4 +35,4 @@ async def on_error(event): miru.load(bot) bot.load_extensions_from("tools", "commands") -bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY)) +bot.run(activity=hikari.Activity(name=c.config["activity"], type=c.ACTIVITY) if c.config["activity"] else None)