fix: ban test typo

This commit is contained in:
Skillz4Killz
2021-11-12 22:09:46 +00:00
committed by GitHub
parent b6c8168175
commit f337c5519d

View File

@@ -27,7 +27,7 @@ export async function unbanTest(bot: Bot, t: Deno.TestContext, guildId: bigint,
banCounters.set(user.id, false);
};
await bot.helpers.unban(guildId, id);
await bot.helpers.unbanMember(guildId, id);
await delayUntil(10000, () => !banCounters.get(id));