fix: create guild config in log cleanup command
This commit is contained in:
		@@ -188,6 +188,8 @@ public class ServerConfig
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        var botList = string.Join(", ", _cleanService.Bots.Select(b => b.Name).OrderBy(x => x.ToLowerInvariant()));
 | 
					        var botList = string.Join(", ", _cleanService.Bots.Select(b => b.Name).OrderBy(x => x.ToLowerInvariant()));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var guild = await _repo.GetGuild(ctx.Guild.Id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        bool newValue;
 | 
					        bool newValue;
 | 
				
			||||||
        if (ctx.Match("enable", "on", "yes"))
 | 
					        if (ctx.Match("enable", "on", "yes"))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user