diff options
| author | 2018-02-13 16:06:36 +0000 | |
|---|---|---|
| committer | 2018-02-13 16:06:36 +0000 | |
| commit | 71c558776628bd010fb90abe9a8191f92b3865a9 (patch) | |
| tree | b45860da42536e7a93b96f1579dca2569d9f37b4 | |
| parent | added example (diff) | |
moved formatter.py to correct dir, and changed __main__.py to use the formatter
| -rw-r--r-- | bot/__main__.py | 4 | ||||
| -rw-r--r-- | bot/formatter.py (renamed from bot/cogs/formatter.py) | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index 6d5c2c063..306e33ff5 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -5,6 +5,7 @@ from discord import Game from discord.ext.commands import AutoShardedBot, when_mentioned_or from bot.utils import CaseInsensitiveDict +from bot.formatter import Formatter bot = AutoShardedBot( command_prefix=when_mentioned_or( @@ -14,7 +15,8 @@ bot = AutoShardedBot( ">>>", ">>", ">" ), # Order matters (and so do commas) game=Game(name="Help: bot.help()"), - help_attrs={"aliases": ["help()"]} + help_attrs={"aliases": ["help()"]}, + formatter=Formatter() ) bot.cogs = CaseInsensitiveDict() diff --git a/bot/cogs/formatter.py b/bot/formatter.py index 56f25fbd6..56f25fbd6 100644 --- a/bot/cogs/formatter.py +++ b/bot/formatter.py |