diff options
| author | 2021-08-08 00:47:49 +0200 | |
|---|---|---|
| committer | 2021-08-08 00:47:49 +0200 | |
| commit | 357c7181d8b0b11ab38ac63c96bf6667b55b0524 (patch) | |
| tree | 001a6d74c0039cf10991e287c202e1f773d2461b | |
| parent | fix linting issues (diff) | |
Removed comment
The code is now almost completely different from discord.py.
| -rw-r--r-- | bot/exts/info/python_news.py | 1 |
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: |