fixed .sclr again, again, and fixed .iamn
This commit is contained in:
parent
cd1c461690
commit
57d32184ff
4 changed files with 11 additions and 4 deletions
|
@ -2,6 +2,13 @@
|
||||||
|
|
||||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o
|
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
|
## [5.2.3] - 29.11.2024
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>true</ImplicitUsings>
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<Version>5.2.3</Version>
|
<Version>5.2.4</Version>
|
||||||
|
|
||||||
<!-- Output/build -->
|
<!-- Output/build -->
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
|
|
|
@ -84,7 +84,7 @@ public partial class Administration
|
||||||
IUserMessage msg = null;
|
IUserMessage msg = null;
|
||||||
try
|
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();
|
msg = await Response().Error(strs.self_assign_not_have(Format.Bold(role.Name))).SendAsync();
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -126,8 +126,8 @@ public sealed class GuildColorsService : IReadyExecutor, IGuildColorsService, IE
|
||||||
{
|
{
|
||||||
var colors = new Colors(
|
var colors = new Colors(
|
||||||
ConvertColor(color.OkColor),
|
ConvertColor(color.OkColor),
|
||||||
ConvertColor(color.ErrorColor),
|
ConvertColor(color.PendingColor),
|
||||||
ConvertColor(color.PendingColor));
|
ConvertColor(color.ErrorColor));
|
||||||
|
|
||||||
_colors.TryAdd(color.GuildId, colors);
|
_colors.TryAdd(color.GuildId, colors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue