From c7e694fc1d01fe07d9e1b0fd92b769ef1ff81678 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Thu, 2 Mar 2017 11:24:37 -0500 Subject: [PATCH] Update QuoteCommands.cs --- .../Modules/Utility/Commands/QuoteCommands.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs index e0445e0c..d811f565 100644 --- a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs @@ -89,18 +89,7 @@ namespace NadekoBot.Modules.Utility if (keywordquote == null) return; - - CREmbed crembed; - if (CREmbed.TryParse(keywordquote.Text, out crembed)) - { - try { await Context.Channel.EmbedAsync(crembed.ToEmbed(), crembed.PlainText ?? "").ConfigureAwait(false); } - catch (Exception ex) - { - _log.Warn("Sending CREmbed failed"); - _log.Warn(ex); - } - return; - } + await Context.Channel.SendMessageAsync("💬 " + keyword.ToLowerInvariant() + ": " + keywordquote.Text.SanitizeMentions()); }