summary refs log tree commit diff
path: root/src/schemas/uncategorised/MessageThreadCreationSchema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/uncategorised/MessageThreadCreationSchema.ts')
-rw-r--r--src/schemas/uncategorised/MessageThreadCreationSchema.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/schemas/uncategorised/MessageThreadCreationSchema.ts b/src/schemas/uncategorised/MessageThreadCreationSchema.ts

index 72992224..ed78d7dd 100644 --- a/src/schemas/uncategorised/MessageThreadCreationSchema.ts +++ b/src/schemas/uncategorised/MessageThreadCreationSchema.ts
@@ -16,10 +16,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ +import { ChannelType } from "../api"; + export interface MessageThreadCreationSchema { auto_archive_duration?: number; rate_limit_per_user?: number; name: string; - type?: number; + type?: ChannelType.GUILD_NEWS_THREAD | ChannelType.GUILD_PRIVATE_THREAD | ChannelType.GUILD_PUBLIC_THREAD; location?: string; //0 clue what this means lol }