aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-06 19:18:23 +0300
committerGravatar ks129 <[email protected]>2020-05-06 19:18:23 +0300
commitbcb360b262531e14eb00bfdc36d9da9b260fdcff (patch)
tree7264a353a0864e73cf2fdc014aae89ce5f200205
parentAdded ignoring maillist when no recent threads (this month) in `News` cog (diff)
Renamed `news.py` to `python_news.py` and `News` to `PythonNews` to avoid confusion
-rw-r--r--bot/cogs/python_news.py (renamed from bot/cogs/news.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/news.py b/bot/cogs/python_news.py
index ff2277283..092ee3cff 100644
--- a/bot/cogs/news.py
+++ b/bot/cogs/python_news.py
@@ -23,7 +23,7 @@ AVATAR_URL = "https://www.python.org/static/opengraph-icon-200x200.png"
log = logging.getLogger(__name__)
-class News(Cog):
+class PythonNews(Cog):
"""Post new PEPs and Python News to `#python-news`."""
def __init__(self, bot: Bot):
@@ -229,4 +229,4 @@ class News(Cog):
def setup(bot: Bot) -> None:
"""Add `News` cog."""
- bot.add_cog(News(bot))
+ bot.add_cog(PythonNews(bot))