diff --git a/package.json b/package.json index 864e4d5e..4afe9f6b 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,12 @@ "mirrord.promptReview": { "type": "boolean", "default": true, - "description": "Occasionally show a notification asking for plugin review" + "description": "Occasionally show a notification asking for plugin review." + }, + "mirrord.promptDiscord": { + "type": "boolean", + "default": true, + "description": "Occasionally show a notification inviting to the Discord server." }, "mirrord.promptAgentVersionMismatch": { "type": "boolean", @@ -131,9 +136,12 @@ "description": "Path to local mirrord installation." }, "mirrord.autoUpdate": { - "type": ["string", "boolean"], + "type": [ + "string", + "boolean" + ], "default": true, - "description": "Automatically update mirrord binary." + "description": "Automatically update mirrord binary." } } }, @@ -163,7 +171,10 @@ }, "jsonValidation": [ { - "fileMatch": ["*mirrord.json", "*.mirrord/*.json"], + "fileMatch": [ + "*mirrord.json", + "*.mirrord/*.json" + ], "url": "https://raw.githubusercontent.com/metalbear-co/mirrord/latest/mirrord-schema.json" } ], @@ -246,4 +257,4 @@ "which": "^3.0.1", "yaml": "^2.1.3" } -} +} \ No newline at end of file diff --git a/src/api.ts b/src/api.ts index e70f6312..e1db6745 100644 --- a/src/api.ts +++ b/src/api.ts @@ -571,7 +571,7 @@ function tickDiscordCounter() { .withGenericAction("Join us!", async () => { vscode.commands.executeCommand(MirrordStatus.joinDiscordCommandId); }) - .withDisableAction('promptReview') + .withDisableAction('promptDiscord') .info(); } } \ No newline at end of file