Fixed auto role group
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m16s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m16s
				
			This commit is contained in:
		| @@ -78,7 +78,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
| @@ -122,7 +122,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
| @@ -188,7 +188,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
| @@ -234,7 +234,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
| @@ -292,7 +292,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
| @@ -390,7 +390,7 @@ class AutoRoleGroup(DiscordCommandABC): | ||||
|         if ctx.guild is None: | ||||
|             return | ||||
|  | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild_id}") | ||||
|         server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") | ||||
|         if not FeatureFlagsSettings.get_flag_from_dict(server_config.feature_flags, FeatureFlagsEnum.auto_role_module): | ||||
|             return | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user