From 24cf7b238edb9177a62f10e49d2f42fd5997ce3c Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Thu, 25 Nov 2021 09:44:15 -0600 Subject: [PATCH] `channel_types` is an array --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9aedba5ee..799bbabf8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -189,7 +189,7 @@ declare namespace Eris { // User type ApplicationCommandOptionsUser = ApplicationCommandOption; // Channel - type ApplicationCommandOptionsChannel = ApplicationCommandOption & { channel_types?: ChannelTypes }; + type ApplicationCommandOptionsChannel = ApplicationCommandOption & { channel_types?: ChannelTypes[] }; // Role type ApplicationCommandOptionsRole = ApplicationCommandOption; // Mentionable