aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/news.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/cogs/news.py')
-rw-r--r--bot/cogs/news.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/cogs/news.py b/bot/cogs/news.py
new file mode 100644
index 000000000..8eb8689c2
--- /dev/null
+++ b/bot/cogs/news.py
@@ -0,0 +1,15 @@
+from discord.ext.commands import Cog
+
+from bot.bot import Bot
+
+
+class News(Cog):
+ """Post new PEPs and Python News to `#python-news`."""
+
+ def __init__(self, bot: Bot):
+ self.bot = bot
+
+
+def setup(bot: Bot) -> None:
+ """Add `News` cog."""
+ bot.add_cog(News(bot))