Update links

This commit is contained in:
Declan Chidlow 2024-08-15 15:38:57 +08:00
parent 3e5cf70f9e
commit 8a15e2a3a3
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ export default {
const code = args.shift(); const code = args.shift();
if (!code) { if (!code) {
return message.reply(`If you're trying to log in, you can access the dashboard ` return message.reply(`If you're trying to log in, you can access the dashboard `
+ `[here](${process.env['WEB_UI_URL'] || 'https://automod.janderedev.xyz'}).\n\n` + `[here](${process.env['WEB_UI_URL'] || 'https://automod.vale.rocks'}).\n\n`
+ `If you already have a code, you can use \`${DEFAULT_PREFIX}login [Code]\`.`); + `If you already have a code, you can use \`${DEFAULT_PREFIX}login [Code]\`.`);
} }
@ -41,7 +41,7 @@ export default {
`# If someone told you to run this, stop!\n` + `# If someone told you to run this, stop!\n` +
`This could give an attacker access to all servers you're using AutoMod in.\n` + `This could give an attacker access to all servers you're using AutoMod in.\n` +
`If someone else told you to run this command, **block them and ignore this.**\n\n` + `If someone else told you to run this command, **block them and ignore this.**\n\n` +
`Otherwise, if this was you trying to log in from <${process.env['WEB_UI_URL'] || 'https://automod.janderedev.xyz'}>, \n` + `Otherwise, if this was you trying to log in from <${process.env['WEB_UI_URL'] || 'https://automod.vale.rocks'}>, \n` +
`you can run this command again to continue.\n` + `you can run this command again to continue.\n` +
`##### You're seeing this because this is the first time you're trying to log in. Stay safe!` `##### You're seeing this because this is the first time you're trying to log in. Stay safe!`
), ),

View file

@ -9,6 +9,6 @@ export default {
category: CommandCategory.Config, category: CommandCategory.Config,
run: async (message: MessageCommandContext) => { run: async (message: MessageCommandContext) => {
await message.reply(`Bot configuration can be managed from ` await message.reply(`Bot configuration can be managed from `
+ `[here](<${process.env['WEB_UI_URL'] || 'https://automod.janderedev.xyz'}/dashboard>).`); + `[here](<${process.env['WEB_UI_URL'] || 'https://automod.vale.rocks'}/dashboard>).`);
} }
} as SimpleCommand; } as SimpleCommand;