This commit is contained in:
ITOH
2021-04-12 09:30:45 +02:00
parent 51e27d8f17
commit b9bd29ebf8
44 changed files with 268 additions and 221 deletions
+1 -1
View File
@@ -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)]),
);
}