mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +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) {
|
||||
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.',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user