diff options
| -rw-r--r-- | bot/cogs/doc/__init__.py | 7 | ||||
| -rw-r--r-- | bot/cogs/doc/cog.py (renamed from bot/cogs/doc.py) | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/bot/cogs/doc/__init__.py b/bot/cogs/doc/__init__.py new file mode 100644 index 000000000..19a71ee66 --- /dev/null +++ b/bot/cogs/doc/__init__.py @@ -0,0 +1,7 @@ +from bot.bot import Bot +from .cog import DocCog + + +def setup(bot: Bot) -> None: + """Load the Doc cog.""" + bot.add_cog(DocCog(bot)) diff --git a/bot/cogs/doc.py b/bot/cogs/doc/cog.py index 526747bf4..463e4ebc6 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc/cog.py @@ -171,7 +171,7 @@ class InventoryURL(commands.Converter): return url -class Doc(commands.Cog): +class DocCog(commands.Cog): """A set of commands for querying & displaying documentation.""" def __init__(self, bot: Bot): @@ -596,8 +596,3 @@ class Doc(commands.Cog): return True return tag.name == "table" - - -def setup(bot: Bot) -> None: - """Load the Doc cog.""" - bot.add_cog(Doc(bot)) |