Skip to content

Commit

Permalink
Allow disabling voice channel message purge
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Aug 29, 2024
1 parent 7c8267f commit d92aa0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Structs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ public class ConfigJson

[JsonProperty("lokiServiceName")]
public string LokiServiceName { get; private set; } = null;

[JsonProperty("voiceChannelPurge")]
public bool VoiceChannelPurge { get; private set; } = true;
}

public enum Level { Information, Warning, Error, Debug, Verbose }
Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,6 @@
"autoWarnMsgAutoDeleteDays": 3,
"logLevel": "Debug",
"lokiURL": "http://100.79.19.82:3100",
"lokiServiceName": "cliptok"
"lokiServiceName": "cliptok",
"voiceChannelPurge": true
}

0 comments on commit d92aa0a

Please sign in to comment.