Updated Support for Gatekeeperv2 (#175)
- Removed required GUILDID arg - Added `-command` arg Command arg can be used to trace Discord Users who issue slash commands.
This commit is contained in:
		@@ -24,7 +24,7 @@ App.ExecutableLinux=/usr/bin/python3
 | 
				
			|||||||
App.WorkingDir=GatekeeperV2-main
 | 
					App.WorkingDir=GatekeeperV2-main
 | 
				
			||||||
App.LinuxCommandLineArgs=
 | 
					App.LinuxCommandLineArgs=
 | 
				
			||||||
App.WindowsCommandLineArgs=
 | 
					App.WindowsCommandLineArgs=
 | 
				
			||||||
App.CommandLineArgs=start.py -token {{dev}}{{debug}}{{discord}}{{super}} {{guildID}}
 | 
					App.CommandLineArgs=start.py -token {{dev}}{{debug}}{{discord}}{{super}}{{command}}
 | 
				
			||||||
App.UseLinuxIOREDIR=False
 | 
					App.UseLinuxIOREDIR=False
 | 
				
			||||||
App.AppSettings={}
 | 
					App.AppSettings={}
 | 
				
			||||||
App.EnvironmentVariables={}
 | 
					App.EnvironmentVariables={}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,19 +12,6 @@
 | 
				
			|||||||
    "DefaultValue": "",
 | 
					    "DefaultValue": "",
 | 
				
			||||||
    "Placeholder": "319/f0dsA0jk0PKge2jkpSFWEauopbvejwaioj32omoi32JIOabdsajotjewq3jr2=="
 | 
					    "Placeholder": "319/f0dsA0jk0PKge2jkpSFWEauopbvejwaioj32omoi32JIOabdsajotjewq3jr2=="
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					 | 
				
			||||||
    "DisplayName": "Discord Server Guild ID",
 | 
					 | 
				
			||||||
    "Category": "Bot Settings",
 | 
					 | 
				
			||||||
    "Description": "Enter your Discord server's [Guild ID](https://poshbot.readthedocs.io/en/latest/guides/backends/setup-discord-backend/#find-your-guild-id-server-id).",
 | 
					 | 
				
			||||||
    "Keywords": "discord,guild,id",
 | 
					 | 
				
			||||||
    "FieldName": "guildID",
 | 
					 | 
				
			||||||
    "InputType": "number",
 | 
					 | 
				
			||||||
    "IsFlagArgument": false,
 | 
					 | 
				
			||||||
    "ParamFieldName": "guildID",
 | 
					 | 
				
			||||||
    "IncludeInCommandLine": false,
 | 
					 | 
				
			||||||
    "DefaultValue": "",
 | 
					 | 
				
			||||||
    "Placeholder": "883220743755206666"
 | 
					 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    "DisplayName": "AMP User",
 | 
					    "DisplayName": "AMP User",
 | 
				
			||||||
    "Category": "Bot Settings",
 | 
					    "Category": "Bot Settings",
 | 
				
			||||||
@@ -124,6 +111,22 @@
 | 
				
			|||||||
        "True": " -dev"
 | 
					        "True": " -dev"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "DisplayName": "Command Print Statements",
 | 
				
			||||||
 | 
					    "Category": "Bot Settings",
 | 
				
			||||||
 | 
					    "Description": "This setting is for displaying the Discord User who issued the slash command.",
 | 
				
			||||||
 | 
					    "Keywords": "command,print,statements",
 | 
				
			||||||
 | 
					    "FieldName": "command",
 | 
				
			||||||
 | 
					    "InputType": "checkbox",
 | 
				
			||||||
 | 
					    "IsFlagArgument": false,
 | 
				
			||||||
 | 
					    "ParamFieldName": "command",
 | 
				
			||||||
 | 
					    "IncludeInCommandLine": false,
 | 
				
			||||||
 | 
					    "DefaultValue": "",
 | 
				
			||||||
 | 
					    "EnumValues": {
 | 
				
			||||||
 | 
					        "False": "",
 | 
				
			||||||
 | 
					        "True": " -command"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    "DisplayName": "Debug Logging",
 | 
					    "DisplayName": "Debug Logging",
 | 
				
			||||||
    "Category": "Bot Settings",
 | 
					    "Category": "Bot Settings",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user