diff --git a/CHANGELOG.md b/CHANGELOG.md index 62000ca..8c6a779 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o +## [5.2.4] - 29.11.2024 + +## Fixed + +- More fixes for .sclr +- `.iamn` fixed + ## [5.2.3] - 29.11.2024 ### Fixed diff --git a/src/EllieBot/EllieBot.csproj b/src/EllieBot/EllieBot.csproj index 8855619..11c77a3 100644 --- a/src/EllieBot/EllieBot.csproj +++ b/src/EllieBot/EllieBot.csproj @@ -4,7 +4,7 @@ enable true en - 5.2.3 + 5.2.4 $(MSBuildProjectDirectory) diff --git a/src/EllieBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs b/src/EllieBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs index 73d6877..287ac4e 100644 --- a/src/EllieBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesCommands.cs +++ b/src/EllieBot/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/EllieBot/_common/Services/Impl/GuildColorsService.cs b/src/EllieBot/_common/Services/Impl/GuildColorsService.cs index 86143ff..464382d 100644 --- a/src/EllieBot/_common/Services/Impl/GuildColorsService.cs +++ b/src/EllieBot/_common/Services/Impl/GuildColorsService.cs @@ -126,8 +126,8 @@ public sealed class GuildColorsService : IReadyExecutor, IGuildColorsService, IE { var colors = new Colors( ConvertColor(color.OkColor), - ConvertColor(color.ErrorColor), - ConvertColor(color.PendingColor)); + ConvertColor(color.PendingColor), + ConvertColor(color.ErrorColor)); _colors.TryAdd(color.GuildId, colors); }