mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
link to server settings in /help
This commit is contained in:
parent
50eda695ab
commit
6c83a41d82
|
@ -1,5 +1,4 @@
|
||||||
import Command from "../../struct/Command";
|
import Command from "../../struct/Command";
|
||||||
import { Message } from "@janderedev/revolt.js/dist/maps/Messages";
|
|
||||||
import { commands, DEFAULT_PREFIX, ownerIDs } from "../modules/command_handler";
|
import { commands, DEFAULT_PREFIX, ownerIDs } from "../modules/command_handler";
|
||||||
import CommandCategory from "../../struct/CommandCategory";
|
import CommandCategory from "../../struct/CommandCategory";
|
||||||
import MessageCommandContext from "../../struct/MessageCommandContext";
|
import MessageCommandContext from "../../struct/MessageCommandContext";
|
||||||
|
@ -45,7 +44,9 @@ export default {
|
||||||
let searchInput = args.shift()?.toLowerCase();
|
let searchInput = args.shift()?.toLowerCase();
|
||||||
if (!searchInput) {
|
if (!searchInput) {
|
||||||
let msg = `## AutoMod help\n` +
|
let msg = `## AutoMod help\n` +
|
||||||
`Type **${prefix}help [category]** to view see all commands or **${prefix}help [command]** to learn more about a command.\n\n`;
|
`Type **${prefix}help [category]** to view see all commands or **${prefix}help [command]** to learn more about a command.\n\n`
|
||||||
|
+ `### [Open Server Settings]`
|
||||||
|
+ `(<${process.env.WEB_UI_URL || 'https://automod.janderedev.xyz'}/dashboard/${message.channel?.server_id}>)\n\n`;
|
||||||
|
|
||||||
let total = 0;
|
let total = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue