1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Escape names in /cv

This commit is contained in:
Steffo 2018-11-07 19:32:38 +01:00
parent 577c6f07db
commit 3d163b1736

View file

@ -475,6 +475,7 @@ class RoyalDiscordBot(discord.Client):
message += f" | 📺 {member.activity.name}" message += f" | 📺 {member.activity.name}"
message += "\n" message += "\n"
message += "\n" message += "\n"
message = message.replace("<", "&lt;").replace(">", "&gt;")
connection.send(message) connection.send(message)
logger.debug(f"Answered successfully cvlist request.") logger.debug(f"Answered successfully cvlist request.")
elif msg.startswith("!"): elif msg.startswith("!"):