Skip to content

Commit d92aa0a

Browse files
committed
Allow disabling voice channel message purge
1 parent 7c8267f commit d92aa0a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Structs.cs

+3
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ public class ConfigJson
295295

296296
[JsonProperty("lokiServiceName")]
297297
public string LokiServiceName { get; private set; } = null;
298+
299+
[JsonProperty("voiceChannelPurge")]
300+
public bool VoiceChannelPurge { get; private set; } = true;
298301
}
299302

300303
public enum Level { Information, Warning, Error, Debug, Verbose }

config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,6 @@
319319
"autoWarnMsgAutoDeleteDays": 3,
320320
"logLevel": "Debug",
321321
"lokiURL": "http://100.79.19.82:3100",
322-
"lokiServiceName": "cliptok"
322+
"lokiServiceName": "cliptok",
323+
"voiceChannelPurge": true
323324
}

0 commit comments

Comments
 (0)