diff --git a/src/NadekoBot/Resources/CommandStrings.Designer.cs b/src/NadekoBot/Resources/CommandStrings.Designer.cs index 4858f768..473a9183 100644 --- a/src/NadekoBot/Resources/CommandStrings.Designer.cs +++ b/src/NadekoBot/Resources/CommandStrings.Designer.cs @@ -6576,7 +6576,7 @@ namespace NadekoBot.Resources { } /// - /// 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). /// public static string setstatus_desc { get { diff --git a/src/NadekoBot/Resources/CommandStrings.resx b/src/NadekoBot/Resources/CommandStrings.resx index 8c9ee0bf..9f6e7b62 100644 --- a/src/NadekoBot/Resources/CommandStrings.resx +++ b/src/NadekoBot/Resources/CommandStrings.resx @@ -2857,7 +2857,7 @@ setstatus - Sets the bot's status. (Online/Idle/Invisible) + Sets the bot's status. (Online/Idle/Dnd/Invisible) `{0}setstatus Idle` diff --git a/src/NadekoBot/ShardedDiscordClient.cs b/src/NadekoBot/ShardedDiscordClient.cs index 4948eb92..535e4c2e 100644 --- a/src/NadekoBot/ShardedDiscordClient.cs +++ b/src/NadekoBot/ShardedDiscordClient.cs @@ -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, } } \ No newline at end of file