summary refs log tree commit diff
path: root/src/models/Invite.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-04 09:55:06 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-04 09:55:06 +0100
commit14ba698369402ead68f8ad3efdb8ef5b1627dce2 (patch)
treec668b5d54b6744ef89ab0df11c45e0ea778eb607 /src/models/Invite.ts
parent:art: typo (diff)
parentinvite interface (diff)
downloadserver-14ba698369402ead68f8ad3efdb8ef5b1627dce2.tar.xz
Merge branch 'master' of https://github.com/discord-open-source/discord-server
Diffstat (limited to 'src/models/Invite.ts')
-rw-r--r--src/models/Invite.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/models/Invite.ts b/src/models/Invite.ts
new file mode 100644

index 00000000..4e1c699e --- /dev/null +++ b/src/models/Invite.ts
@@ -0,0 +1,31 @@ +export interface Invite { + code: string, + guild: { + id: bigint, + name: string, + splash: string, + description: string, + icon: string, + features: Object, + verification_level: number + }, + channel: { + id: bigint, + name: string, + type: number + }, + + inviter: { + id: bigint, + username: string, + avatar: string, + discriminator: number, + }, + target_user: { + id: bigint, + username: string, + avatar: string, + discriminator: number + }, + target_user_type: number +} \ No newline at end of file