From 9a7cf17f8fc4c931347a9000a256f9e66307d2cd Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 29 Jun 2017 10:25:00 -0400 Subject: [PATCH] Setting Discord IDs now auto filters some artifacts --- TGServiceInterface/Chat.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TGServiceInterface/Chat.cs b/TGServiceInterface/Chat.cs index cd9b83e0a7..cfdab6d228 100644 --- a/TGServiceInterface/Chat.cs +++ b/TGServiceInterface/Chat.cs @@ -330,6 +330,7 @@ namespace TGServiceInterface } protected override string SanitizeChannelName(string working) { + working = working.Replace("<", "").Replace(">", "").Replace("&", ""); //filter out some stuff that can come in the copypasta try { Convert.ToUInt64(working);