.setstatus now accepts 'dnd' too
This commit is contained in:
parent
a496467585
commit
ce0532335d
@ -6576,7 +6576,7 @@ namespace NadekoBot.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Sets the bot's status. (Online/Idle/Invisible).
|
||||
/// Looks up a localized string similar to Sets the bot's status. (Online/Idle/Dnd/Invisible).
|
||||
/// </summary>
|
||||
public static string setstatus_desc {
|
||||
get {
|
||||
|
@ -2857,7 +2857,7 @@
|
||||
<value>setstatus</value>
|
||||
</data>
|
||||
<data name="setstatus_desc" xml:space="preserve">
|
||||
<value>Sets the bot's status. (Online/Idle/Invisible)</value>
|
||||
<value>Sets the bot's status. (Online/Idle/Dnd/Invisible)</value>
|
||||
</data>
|
||||
<data name="setstatus_usage" xml:space="preserve">
|
||||
<value>`{0}setstatus Idle`</value>
|
||||
|
@ -153,6 +153,8 @@ namespace NadekoBot
|
||||
return UserStatus.Invisible;
|
||||
case SettableUserStatus.Idle:
|
||||
return UserStatus.AFK;
|
||||
case SettableUserStatus.Dnd:
|
||||
return UserStatus.DoNotDisturb;
|
||||
}
|
||||
|
||||
return UserStatus.Online;
|
||||
@ -166,6 +168,9 @@ namespace NadekoBot
|
||||
Invisible = 2,
|
||||
Invis = 2,
|
||||
Idle = 3,
|
||||
Afk = 3
|
||||
Afk = 3,
|
||||
Dnd = 4,
|
||||
DoNotDisturb = 4,
|
||||
Busy = 4,
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user