This commit is contained in:
Skillz4Killz
2021-10-09 14:39:12 +00:00
committed by GitHub
parent 201fe5f22e
commit 5fb1e11639

View File

@@ -6,7 +6,7 @@ import { iconHashToBigInt } from "../util/hash.ts";
export type DiscordenoUser = ReturnType<typeof transformUser>;
export function transformUser(bot: Bot, payload: User) {
export function transformUser(bot: Bot, payload: SnakeCasedPropertiesDeep<User>) {
return {
id: BigInt(payload.id),
username: payload.username,