1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +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 cogs import utils
opts = {'command_prefix': utils.command_prefix,
'description': utils.bot_description,
'pm_help': None,
'command_not_found': '',
'game': discord.Activity(name=utils.default_status, type=0)}
opts = {
'command_prefix': utils.command_prefix,
'description': utils.bot_description,
'pm_help': None,
'command_not_found': '',
'activity': discord.Activity(name=utils.default_status, type=0)
}
bot = commands.AutoShardedBot(**opts)
logging.basicConfig(level=logging.INFO, filename='bonfire.log')