mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
fix
This commit is contained in:
@@ -15,6 +15,6 @@ export async function getBans(guildId: string) {
|
||||
)) as DiscordBan[];
|
||||
|
||||
return new Collection<string, Ban>(
|
||||
results.map((res) => [res.user.id, snakeKeysToCamelCase(res) as Ban]),
|
||||
results.map((res) => [res.user.id, snakeKeysToCamelCase<Ban>(res)]),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user