diff --git a/docs/changelog_generation.py b/docs/changelog_generation.py index dcf604092..92062de77 100755 --- a/docs/changelog_generation.py +++ b/docs/changelog_generation.py @@ -79,6 +79,10 @@ def _convert_to_rst(text: str): text = re.sub(r"`([^`]+)`", r"``\1``", text) # convert markdown links text = re.sub(r"\[([^\]]+)\]\()]+)>?\)", r"`\1 <\2>`__", text) + # convert discord custom emojis + text = re.sub(r"", '', text).replace(" ", " ") + # convert discord command mentions + text = re.sub(r"", r"``/\1``", text) return text if __name__ == "__main__":