aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ryu1845 <[email protected]>2021-08-08 00:47:49 +0200
committerGravatar GitHub <[email protected]>2021-08-08 00:47:49 +0200
commit357c7181d8b0b11ab38ac63c96bf6667b55b0524 (patch)
tree001a6d74c0039cf10991e287c202e1f773d2461b
parentfix linting issues (diff)
Removed comment
The code is now almost completely different from discord.py.
-rw-r--r--bot/exts/info/python_news.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/exts/info/python_news.py b/bot/exts/info/python_news.py
index 0b6e230b4..8d7ffec88 100644
--- a/bot/exts/info/python_news.py
+++ b/bot/exts/info/python_news.py
@@ -76,7 +76,6 @@ class PythonNews(Cog):
@staticmethod
def escape_markdown(content: str) -> str:
"""Escape the markdown underlines."""
- # taken from discord.utils.escape_markdown
return re.sub(r'[_\\~|]', lambda match: '\\' + match[0], content, 0, re.MULTILINE)
async def post_pep_news(self) -> None: