fix(bot): format ids correctly in a few places

This commit is contained in:
alyssa 2024-05-11 21:32:16 +09:00
parent f6fceffc3f
commit c3a30a59cd
7 changed files with 13 additions and 13 deletions

View file

@ -18,7 +18,7 @@ public class SystemLink
var existingAccount = await ctx.Repository.GetSystemByAccount(account.Id);
if (existingAccount != null)
throw Errors.AccountInOtherSystem(existingAccount);
throw Errors.AccountInOtherSystem(existingAccount, ctx.Config);
var msg = $"{account.Mention()}, please confirm the link.";
if (!await ctx.PromptYesNo(msg, "Confirm", account, false)) throw Errors.MemberLinkCancelled;