mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Change status to be optional
This commit is contained in:
parent
7a0d1e0e36
commit
65d87e357d
1 changed files with 1 additions and 1 deletions
2
run.py
2
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)
|
||||
|
|
Loading…
Reference in a new issue