Skip to content

Commit 21e2e58

Browse files
authored
feat: custom help url (#476)
* feat: custom help url * chore: formatting * goddamn
1 parent 1a314bf commit 21e2e58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/src/plugins/Utility/commands/HelpCmd.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { LoadedGuildPlugin, PluginCommandDefinition } from "knub";
22
import { commandTypeHelpers as ct } from "../../../commandTypes.js";
3+
import { env } from "../../../env.js";
34
import { createChunkedMessage } from "../../../utils.js";
45
import { utilityCmd } from "../types.js";
56

@@ -62,7 +63,7 @@ export const HelpCmd = utilityCmd({
6263
let snippet = `**${prefix}${trigger}**`;
6364
if (description) snippet += `\n${description}`;
6465
if (usage) snippet += `\nBasic usage: \`${usage}\``;
65-
snippet += `\n<https://zeppelin.gg/docs/plugins/${plugin.blueprint.name}/usage#command-${commandSlug}>`;
66+
snippet += `\n<${env.DASHBOARD_URL}/docs/plugins/${plugin.blueprint.name}/usage#command-${commandSlug}>`;
6667

6768
return snippet;
6869
});

0 commit comments

Comments
 (0)