Correct activity update
This commit is contained in:
parent
ff4eb301c6
commit
6cb45a50d5
12
bot.py
12
bot.py
|
@ -12,11 +12,13 @@ os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
from cogs import utils
|
from cogs import utils
|
||||||
|
|
||||||
opts = {'command_prefix': utils.command_prefix,
|
opts = {
|
||||||
'description': utils.bot_description,
|
'command_prefix': utils.command_prefix,
|
||||||
'pm_help': None,
|
'description': utils.bot_description,
|
||||||
'command_not_found': '',
|
'pm_help': None,
|
||||||
'game': discord.Activity(name=utils.default_status, type=0)}
|
'command_not_found': '',
|
||||||
|
'activity': discord.Activity(name=utils.default_status, type=0)
|
||||||
|
}
|
||||||
|
|
||||||
bot = commands.AutoShardedBot(**opts)
|
bot = commands.AutoShardedBot(**opts)
|
||||||
logging.basicConfig(level=logging.INFO, filename='bonfire.log')
|
logging.basicConfig(level=logging.INFO, filename='bonfire.log')
|
||||||
|
|
Loading…
Reference in a new issue