feat: simpler /link message

This commit is contained in:
TrèsAbhi committed 2023-10-17 20:59:33 -05:00
1 parent 4b00e1342e
commit f8a66bb5e7
1 file changed
+2 -4
+2 -4
View File
@@ -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.',
});
}
}