mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: create guild config in log cleanup command
This commit is contained in:
parent
32bea51e18
commit
56e266190f
1 changed files with 2 additions and 0 deletions
|
|
@ -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"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue