fixed .sclr again, again, and fixed .iamn

This commit is contained in:
Toastie 2024-11-29 20:12:01 +13:00
parent cd1c461690
commit 57d32184ff
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
4 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -4,7 +4,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>5.2.3</Version>
<Version>5.2.4</Version>
<!-- Output/build -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>

View file

@ -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;

View file

@ -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);
}