From f3f7731563e1c0aa2086bea63f3333b2379ed657 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Sat, 5 Feb 2022 15:50:40 +1100 Subject: [PATCH] Add Discord settings --- project-zomboidconfig.json | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/project-zomboidconfig.json b/project-zomboidconfig.json index d75ee8b..30f4afd 100755 --- a/project-zomboidconfig.json +++ b/project-zomboidconfig.json @@ -722,5 +722,58 @@ "True":"true", "False":"false" } + }, + { + "DisplayName":"Enable Discord Integration", + "Category":"Discord Settings", + "Description":"Requires a valid token to be set", + "Keywords":"discord", + "FieldName":"DiscordEnable", + "InputType":"checkbox", + "IsFlagArgument":false, + "ParamFieldName":"DiscordEnable", + "IncludeInCommandLine":false, + "DefaultValue":"false", + "EnumValues":{ + "True":"true", + "False":"false" + } + }, + { + "DisplayName":"Discord Token", + "Category":"Discord Settings", + "Description":"Token to access the Discord servers", + "Keywords":"discord,token", + "FieldName":"DiscordToken", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"DiscordToken", + "IncludeInCommandLine":false, + "DefaultValue":"" + }, + { + "DisplayName":"Discord Channel", + "Category":"Discord Settings", + "Description":"Name of the Discord channel to integrate with", + "Keywords":"discord,channel", + "FieldName":"DiscordChannel", + "InputType":"text", + "IsFlagArgument":false, + "ParamFieldName":"DiscordChannel", + "IncludeInCommandLine":false, + "DefaultValue":"" + }, + { + "DisplayName":"Discord Channel ID", + "Category":"Discord Settings", + "Description":"ID of the Discord channel to integrate with", + "Keywords":"discord,channel,id", + "FieldName":"DiscordChannelID", + "InputType":"number", + "IsFlagArgument":false, + "ParamFieldName":"DiscordChannelID", + "IncludeInCommandLine":false, + "DefaultValue":"", + "Placeholder":"475182341782896651" } ]