Db fixed, donators and qutoes are working.

This commit is contained in:
Kwoth 2016-08-24 20:56:41 +02:00
parent acd1480cb1
commit 180911944e

View File

@ -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]