From 180911944e5d5fdbbbd598551d35338633dacfc1 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 24 Aug 2016 20:56:41 +0200 Subject: [PATCH] Db fixed, donators and qutoes are working. --- src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs index 3dc1e71a..51a467b5 100644 --- a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs @@ -23,6 +23,8 @@ namespace NadekoBot.Modules.Utility if (string.IsNullOrWhiteSpace(keyword)) return; + keyword = keyword.ToUpperInvariant(); + Quote quote; using (var uow = DbHandler.Instance.GetUnitOfWork()) { @@ -32,7 +34,7 @@ namespace NadekoBot.Modules.Utility if (quote == null) return; - await channel.SendMessageAsync(":megaphone: " + quote.Text); + await channel.SendMessageAsync("📣 " + quote.Text); } [LocalizedCommand, LocalizedDescription, LocalizedSummary]