From 93a75ba92ae7dc9525328f077aaafcf1bf5c6c38 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 29 Jul 2016 14:01:55 +0200 Subject: [PATCH] fixed leet message to long potentialy --- NadekoBot/Modules/Games/Commands/Leet.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Games/Commands/Leet.cs b/NadekoBot/Modules/Games/Commands/Leet.cs index 09f96fc4..e71a80d0 100644 --- a/NadekoBot/Modules/Games/Commands/Leet.cs +++ b/NadekoBot/Modules/Games/Commands/Leet.cs @@ -1,5 +1,6 @@ using Discord.Commands; using NadekoBot.Classes; +using NadekoBot.Extensions; using System.Text; //taken from @@ -291,7 +292,7 @@ namespace NadekoBot.Modules.Games.Commands } #endregion } - return sb.ToString(); // Return result. + return sb.ToString().TrimTo(1995); // Return result. } internal override void Init(CommandGroupBuilder cgb)