mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
add description
This commit is contained in:
parent
e5da0de672
commit
95848c3163
2 changed files with 11 additions and 3 deletions
7
bot.py
7
bot.py
|
@ -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)
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue