diff --git a/CHANGELOG.md b/CHANGELOG.md index bb940cce3..3546cdcf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o +## [5.2.4] - 27.11.2024 + +## Fixed + +- More fixes for .sclr +- `.iamn` fixed + ## [5.2.3] - 27.11.2024 ## Fixed diff --git a/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs b/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs index 11a3c94d9..71c2d2505 100644 --- a/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs +++ b/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs @@ -84,7 +84,7 @@ public partial class Administration IUserMessage msg = null; try { - if (guildUser.RoleIds.Contains(role.Id)) + if (!guildUser.RoleIds.Contains(role.Id)) { msg = await Response().Error(strs.self_assign_not_have(Format.Bold(role.Name))).SendAsync(); return; diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index b161ce15d..2252bec79 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -4,7 +4,7 @@ enable true en - 5.2.3 + 5.2.4 $(MSBuildProjectDirectory) diff --git a/src/NadekoBot/_common/Services/Impl/GuildColorsService.cs b/src/NadekoBot/_common/Services/Impl/GuildColorsService.cs index 9f9b9d2f4..e38c028b7 100644 --- a/src/NadekoBot/_common/Services/Impl/GuildColorsService.cs +++ b/src/NadekoBot/_common/Services/Impl/GuildColorsService.cs @@ -126,8 +126,8 @@ public sealed class GuildColorsService : IReadyExecutor, IGuildColorsService, IN { var colors = new Colors( ConvertColor(color.OkColor), - ConvertColor(color.ErrorColor), - ConvertColor(color.PendingColor)); + ConvertColor(color.PendingColor), + ConvertColor(color.ErrorColor)); _colors.TryAdd(color.GuildId, colors); }