From f8a66bb5e7cb2073d01a6b7087228ec4abccc52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:59:33 -0500 Subject: [PATCH] feat: simpler /link message --- src/core/discord/resolvePlayerFromCommand.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/discord/resolvePlayerFromCommand.ts b/src/core/discord/resolvePlayerFromCommand.ts index 8de1e4826..a766f2161 100644 --- a/src/core/discord/resolvePlayerFromCommand.ts +++ b/src/core/discord/resolvePlayerFromCommand.ts @@ -47,10 +47,8 @@ export default async function resolvePlayerFromCommand( if (account) { return { region: account.region, id: account.blitz }; } else { - // TODO: simplify message - throw new UserError("You're not linked", { - cause: - 'Use the `/link` command to link your Discord and Blitz accounts.', + throw new UserError('Use the `/link` command', { + cause: 'Link your Blitz and Discord accounts to get started.', }); } }