Fixed warning
This commit is contained in:
parent
ac671a7f0c
commit
da60df7e51
@ -61,7 +61,7 @@ namespace NadekoBot.Modules.CustomReactions
|
||||
|
||||
public void ClearStats() => ReactionStats.Clear();
|
||||
|
||||
public static async Task<CustomReaction> TryGetCustomReaction(SocketUserMessage umsg)
|
||||
public static CustomReaction TryGetCustomReaction(SocketUserMessage umsg)
|
||||
{
|
||||
var channel = umsg.Channel as SocketTextChannel;
|
||||
if (channel == null)
|
||||
|
@ -246,7 +246,7 @@ namespace NadekoBot.Modules.Utility
|
||||
|
||||
await Context.Channel.SendConfirmAsync(
|
||||
"🔁 " + GetText("repeater",
|
||||
Format.Bold(rep.Repeater.Message),
|
||||
Format.Bold(((IGuildUser)Context.User).GuildPermissions.MentionEveryone ? rep.Repeater.Message : rep.Repeater.Message.SanitizeMentions()),
|
||||
Format.Bold(rep.Repeater.Interval.Days.ToString()),
|
||||
Format.Bold(rep.Repeater.Interval.Hours.ToString()),
|
||||
Format.Bold(rep.Repeater.Interval.Minutes.ToString()))).ConfigureAwait(false);
|
||||
|
Loading…
Reference in New Issue
Block a user