mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Add activity to config.py
This commit is contained in:
parent
189dc23e82
commit
8d9d5df204
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
import toml
|
import toml
|
||||||
|
import hikari
|
||||||
|
|
||||||
|
ACTIVITY = hikari.ActivityType.LISTENING
|
||||||
ERROR = '```❗ An internal error has occurred. This has been reported to my master. 🐺```'
|
ERROR = '```❗ An internal error has occurred. This has been reported to my master. 🐺```'
|
||||||
CONFIG = '''\
|
CONFIG = '''\
|
||||||
guilds = [] # guild IDs to register commands, empty for global
|
guilds = [] # guild IDs to register commands, empty for global
|
||||||
|
|
2
run.py
2
run.py
|
@ -31,4 +31,4 @@ async def on_error(event):
|
||||||
|
|
||||||
miru.load(bot)
|
miru.load(bot)
|
||||||
bot.load_extensions_from('tools', 'commands')
|
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))
|
||||||
|
|
Loading…
Reference in a new issue