1
0
Fork 0
mirror of https://github.com/uhIgnacio/EmoteManager.git synced 2024-08-15 02:23:13 +00:00

add description

This commit is contained in:
bmintz 2018-07-31 21:05:23 -05:00
parent e5da0de672
commit 95848c3163
2 changed files with 11 additions and 3 deletions

7
bot.py
View file

@ -13,11 +13,14 @@ logger.setLevel(logging.INFO)
class Bot(commands.AutoShardedBot):
def __init__(self, **kwargs):
super().__init__(command_prefix=commands.when_mentioned, **kwargs)
with open('config.py') as f:
self.config = eval(f.read(), {})
super().__init__(
command_prefix=commands.when_mentioned,
description=self.config.get('description', ''),
**kwargs)
for cog in self.config['cogs']:
self.load_extension(cog)

View file

@ -1,4 +1,9 @@
{
'description':
'Emote Manager lets you manage custom server emotes from your phone. '
'NOTE: Most commands will be unavailable until both you and the bot have the '
'"Manage Emojis" permission.',
'cogs': (
'cogs.emote',
'cogs.meta',