emojis and few other changes
This commit is contained in:
parent
8d954e5050
commit
b403e804ff
@ -97,7 +97,7 @@ namespace NadekoBot.Modules.Administration
|
||||
if (RatelimitingChannels.TryRemove(channel.Id, out throwaway))
|
||||
{
|
||||
throwaway.cancelSource.Cancel();
|
||||
await channel.SendMessageAsync("`Slow mode disabled.`").ConfigureAwait(false);
|
||||
await channel.SendMessageAsync("ℹ️ **Slow mode disabled.**").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -112,7 +112,7 @@ namespace NadekoBot.Modules.Administration
|
||||
|
||||
if (msg < 1 || perSec < 1 || msg > 100 || perSec > 3600)
|
||||
{
|
||||
await channel.SendMessageAsync("`Invalid parameters.`");
|
||||
await channel.SendMessageAsync("⚠️ `Invalid parameters.`");
|
||||
return;
|
||||
}
|
||||
var toAdd = new Ratelimiter()
|
||||
@ -123,11 +123,11 @@ namespace NadekoBot.Modules.Administration
|
||||
};
|
||||
if(RatelimitingChannels.TryAdd(channel.Id, toAdd))
|
||||
{
|
||||
await channel.SendMessageAsync("`Slow mode initiated.` " +
|
||||
$"Users can't send more than {toAdd.MaxMessages} message(s) every {toAdd.PerSeconds} second(s).")
|
||||
await channel.SendMessageAsync("✅ **Slow mode initiated: " +
|
||||
$"Users can't send more than `{toAdd.MaxMessages} message(s)` every `{toAdd.PerSeconds} second(s)`.**")
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user