1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Correct activity update

This commit is contained in:
phxntxm 2018-10-04 14:38:15 -05:00
parent ff4eb301c6
commit 6cb45a50d5

12
bot.py
View file

@ -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')