added emoji and words
- emojis added to various responses. - added `has been` to anti spam responses.
This commit is contained in:
parent
707f8e2318
commit
a51475fbed
@ -202,13 +202,13 @@ namespace NadekoBot.Modules.Administration
|
|||||||
|
|
||||||
if (userThreshold < 2 || userThreshold > 30)
|
if (userThreshold < 2 || userThreshold > 30)
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("User threshold must be between 2 and 30").ConfigureAwait(false);
|
await channel.SendMessageAsync("❗️User threshold must be between **2** and **30**.").ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seconds < 2 || seconds > 300)
|
if (seconds < 2 || seconds > 300)
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("Time must be between 2 and 300 seconds.").ConfigureAwait(false);
|
await channel.SendMessageAsync("❗️Time must be between **2** and **300** seconds.").ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("Failed creating a mute role. Give me ManageRoles permission" +
|
await channel.SendMessageAsync("⚠️ Failed creating a mute role. Give me ManageRoles permission" +
|
||||||
"or create 'nadeko-mute' role with disabled SendMessages and try again.")
|
"or create 'nadeko-mute' role with disabled SendMessages and try again.")
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
_log.Warn(ex);
|
_log.Warn(ex);
|
||||||
@ -233,7 +233,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
};
|
};
|
||||||
antiRaidGuilds.AddOrUpdate(channel.Guild.Id, setting, (id, old) => setting);
|
antiRaidGuilds.AddOrUpdate(channel.Guild.Id, setting, (id, old) => setting);
|
||||||
|
|
||||||
await channel.SendMessageAsync($"{imsg.Author.Mention} `If {userThreshold} or more users join within {seconds} seconds, I will {action} them.`")
|
await channel.SendMessageAsync($"ℹ️ {imsg.Author.Mention} If **{userThreshold}** or more users join within **{seconds}** seconds, I will **{action}** them.")
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -250,7 +250,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
AntiSpamSetting throwaway;
|
AntiSpamSetting throwaway;
|
||||||
if (antiSpamGuilds.TryRemove(channel.Guild.Id, out throwaway))
|
if (antiSpamGuilds.TryRemove(channel.Guild.Id, out throwaway))
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("`Anti-Spam feature disabled on this server.`").ConfigureAwait(false);
|
await channel.SendMessageAsync("🆗 **Anti-Spam feature** has been **disabled** on this server.").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -260,7 +260,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
await channel.SendMessageAsync("Failed creating a mute role. Give me ManageRoles permission" +
|
await channel.SendMessageAsync("⚠️ Failed creating a mute role. Give me ManageRoles permission" +
|
||||||
"or create 'nadeko-mute' role with disabled SendMessages and try again.")
|
"or create 'nadeko-mute' role with disabled SendMessages and try again.")
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
_log.Warn(ex);
|
_log.Warn(ex);
|
||||||
@ -272,7 +272,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
Action = action,
|
Action = action,
|
||||||
MessageThreshold = messageCount,
|
MessageThreshold = messageCount,
|
||||||
}))
|
}))
|
||||||
await channel.SendMessageAsync("`Anti-Spam feature enabled on this server.`").ConfigureAwait(false);
|
await channel.SendMessageAsync("✅ **Anti-Spam feature** has been **enabled** on this server.").ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user