diff --git a/bot/utils/scripts.py b/bot/utils/scripts.py index 39e447d..a8d2317 100644 --- a/bot/utils/scripts.py +++ b/bot/utils/scripts.py @@ -101,6 +101,7 @@ async def stop_tasks(client: Client = None) -> None: def escape_html(text: str) -> str: + text = str(text) return text.replace('<', '\\<').replace('>', '\\>')