mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-02 15:54:27 -05:00 
			
		
		
		
	fix: fixed .sclr again, again, and fixed .iamn
This commit is contained in:
		@@ -2,6 +2,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
 | 
					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
 | 
					## [5.2.3] - 27.11.2024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Fixed
 | 
					## Fixed
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -126,8 +126,8 @@ public sealed class GuildColorsService : IReadyExecutor, IGuildColorsService, IN
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            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);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user