feat(contexts): add GuildMember
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Type } from '@sinclair/typebox'
|
||||
import { Type, Static } from '@sinclair/typebox'
|
||||
|
||||
import { date, id } from './utils'
|
||||
|
||||
@ -10,3 +10,5 @@ export const memberSchema = {
|
||||
userId: id,
|
||||
guildId: id
|
||||
}
|
||||
const memberObjectSchema = Type.Object(memberSchema)
|
||||
export type Member = Static<typeof memberObjectSchema>
|
||||
|
Reference in New Issue
Block a user