mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Cleaning up projects, project is building
This commit is contained in:
		@@ -24,10 +24,12 @@ public sealed class PermissionChecker : IPermissionChecker, INService
 | 
			
		||||
        IMessageChannel channel,
 | 
			
		||||
        IUser author,
 | 
			
		||||
        string module,
 | 
			
		||||
        string cmd)
 | 
			
		||||
        string? cmd)
 | 
			
		||||
    {
 | 
			
		||||
        module = module.ToLowerInvariant();
 | 
			
		||||
        cmd = cmd?.ToLowerInvariant();
 | 
			
		||||
        // todo add proper string
 | 
			
		||||
        if (await _cmdCds.TryBlock(guild, author, cmd))
 | 
			
		||||
        if (cmd is not null && await _cmdCds.TryBlock(guild, author, cmd))
 | 
			
		||||
            return new Error<LocStr>(new());
 | 
			
		||||
 | 
			
		||||
        try
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user