aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-19 20:14:06 +0300
committerGravatar ks129 <[email protected]>2020-05-19 20:14:06 +0300
commit716699dedf6ec7afc76eb61d5402184d5a808dc7 (patch)
tree7397c4e2e60549a77597cb3672f534b2ed683362
parentMerge pull request #858 from python-discord/decorator-factory-mutability-tag (diff)
Source: Created initial cog layout + setup function
-rw-r--r--bot/cogs/source.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/cogs/source.py b/bot/cogs/source.py
new file mode 100644
index 000000000..4897a16e3
--- /dev/null
+++ b/bot/cogs/source.py
@@ -0,0 +1,15 @@
+from discord.ext.commands import Cog
+
+from bot.bot import Bot
+
+
+class Source(Cog):
+ """Cog of Python Discord project source information."""
+
+ def __init__(self, bot: Bot):
+ self.bot = bot
+
+
+def setup(bot: Bot) -> None:
+ """Load `Source` cog."""
+ bot.add_cog(Source(bot))