Db fixed, donators and qutoes are working.
This commit is contained in:
parent
acd1480cb1
commit
180911944e
@ -23,6 +23,8 @@ namespace NadekoBot.Modules.Utility
|
|||||||
if (string.IsNullOrWhiteSpace(keyword))
|
if (string.IsNullOrWhiteSpace(keyword))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
keyword = keyword.ToUpperInvariant();
|
||||||
|
|
||||||
Quote quote;
|
Quote quote;
|
||||||
using (var uow = DbHandler.Instance.GetUnitOfWork())
|
using (var uow = DbHandler.Instance.GetUnitOfWork())
|
||||||
{
|
{
|
||||||
@ -32,7 +34,7 @@ namespace NadekoBot.Modules.Utility
|
|||||||
if (quote == null)
|
if (quote == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
await channel.SendMessageAsync(":megaphone: " + quote.Text);
|
await channel.SendMessageAsync("📣 " + quote.Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
[LocalizedCommand, LocalizedDescription, LocalizedSummary]
|
[LocalizedCommand, LocalizedDescription, LocalizedSummary]
|
||||||
|
Loading…
Reference in New Issue
Block a user