mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: correct error text on pk;unlink
This commit is contained in:
parent
0ee0e75e02
commit
614059c79f
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ public class SystemLink
|
|||
|
||||
ulong id;
|
||||
if (!ctx.MatchUserRaw(out id))
|
||||
throw new PKSyntaxError("You must pass an account to link with (either ID or @mention).");
|
||||
throw new PKSyntaxError("You must pass an account to unlink from (either ID or @mention).");
|
||||
|
||||
var accountIds = (await ctx.Repository.GetSystemAccounts(ctx.System.Id)).ToList();
|
||||
if (!accountIds.Contains(id)) throw Errors.AccountNotLinked;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue