summary refs log tree commit diff
path: root/src/schemas/uncategorised/MessageThreadCreationSchema.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-01-29 20:37:08 +0100
committerRory& <root@rory.gay>2026-01-29 20:37:08 +0100
commitb97e9e03a0ec42e05eaec0b830a0018d650d0c8e (patch)
tree5c0c665310aefbb992ab24357446ffd4473bb40d /src/schemas/uncategorised/MessageThreadCreationSchema.ts
parentChannel/thread util methods ported from #876 (diff)
downloadserver-ts-b97e9e03a0ec42e05eaec0b830a0018d650d0c8e.tar.xz
READY changes for threads ported from #876
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 }