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