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:
k8thekat 2022-08-18 16:10:36 -07:00 committed by GitHub
parent fae9c20ed3
commit 8d645370c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 14 deletions

View File

@ -24,7 +24,7 @@ App.ExecutableLinux=/usr/bin/python3
App.WorkingDir=GatekeeperV2-main
App.LinuxCommandLineArgs=
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.AppSettings={}
App.EnvironmentVariables={}

View File

@ -12,19 +12,6 @@
"DefaultValue": "",
"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",
"Category": "Bot Settings",
@ -124,6 +111,22 @@
"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",
"Category": "Bot Settings",