diff --git a/config.py b/config.py index 72b0ee7..537ef51 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,7 @@ import toml +import hikari +ACTIVITY = hikari.ActivityType.LISTENING ERROR = '```❗ An internal error has occurred. This has been reported to my master. 🐺```' CONFIG = '''\ guilds = [] # guild IDs to register commands, empty for global diff --git a/run.py b/run.py index 807c932..1afea8c 100644 --- a/run.py +++ b/run.py @@ -31,4 +31,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=hikari.ActivityType.LISTENING)) +bot.run(activity=hikari.Activity(name=c.config['activity'], type=c.ACTIVITY))