Updated command description
This commit is contained in:
parent
93c28918d0
commit
defde0ce34
@ -295,7 +295,7 @@ namespace NadekoBot.Modules.Administration
|
||||
[Priority(0)]
|
||||
public async Task Mute(int minutes, IGuildUser user)
|
||||
{
|
||||
if (minutes < 1)
|
||||
if (minutes < 1 || minutes > 1440)
|
||||
return;
|
||||
try
|
||||
{
|
||||
|
@ -4956,7 +4956,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Mutes a mentioned user both from speaking and chatting..
|
||||
/// Looks up a localized string similar to Mutes a mentioned user both from speaking and chatting. You can also specify time in minutes (up to 1440) for how long the user should be muted..
|
||||
/// </summary>
|
||||
public static string mute_desc {
|
||||
get {
|
||||
@ -4965,7 +4965,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to `{0}mute @Someone`.
|
||||
/// Looks up a localized string similar to `{0}mute @Someone` or `{0}mute 30 @Someone`.
|
||||
/// </summary>
|
||||
public static string mute_usage {
|
||||
get {
|
||||
|
@ -589,10 +589,10 @@
|
||||
<value>mute</value>
|
||||
</data>
|
||||
<data name="mute_desc" xml:space="preserve">
|
||||
<value>Mutes a mentioned user both from speaking and chatting.</value>
|
||||
<value>Mutes a mentioned user both from speaking and chatting. You can also specify time in minutes (up to 1440) for how long the user should be muted.</value>
|
||||
</data>
|
||||
<data name="mute_usage" xml:space="preserve">
|
||||
<value>`{0}mute @Someone`</value>
|
||||
<value>`{0}mute @Someone` or `{0}mute 30 @Someone`</value>
|
||||
</data>
|
||||
<data name="voiceunmute_cmd" xml:space="preserve">
|
||||
<value>voiceunmute</value>
|
||||
|
Loading…
Reference in New Issue
Block a user