From e44a7be61bc028401b6345893ce62e7872be5b9c Mon Sep 17 00:00:00 2001 From: "Marco (Valandur)" Date: Sun, 13 Jan 2019 21:22:22 +0100 Subject: [PATCH] Add 'unique' property to 'CreateInviteOptions' This adds the `unique` property to the `CreateInviteOptions` structure for typescript which allows forcing Discord to create a new invite code instead of reusing an existing one. --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index fd52a3631..d8eaf4b10 100644 --- a/index.d.ts +++ b/index.d.ts @@ -24,6 +24,7 @@ declare module "eris" { maxAge?: number; maxUses?: number; temporary?: boolean; + unique?: boolean; } interface Invitable {