mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: simpler /link message
This commit is contained in:
1 parent
4b00e1342e
commit
f8a66bb5e7
1 file changed
+2
-4
@@ -47,10 +47,8 @@ export default async function resolvePlayerFromCommand(
|
|||||||
if (account) {
|
if (account) {
|
||||||
return { region: account.region, id: account.blitz };
|
return { region: account.region, id: account.blitz };
|
||||||
} else {
|
} else {
|
||||||
// TODO: simplify message
|
throw new UserError('Use the `/link` command', {
|
||||||
throw new UserError("You're not linked", {
|
cause: 'Link your Blitz and Discord accounts to get started.',
|
||||||
cause:
|
|
||||||
'Use the `/link` command to link your Discord and Blitz accounts.',
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user