ForumMediaThread
Implementation of discords ForumMediaThread object as a Luau builder.
https://discord.com/developers/docs/resources/channel#start-thread-without-message-json-params
Properties
The ForumMediaThread instance has no set properties!
Methods
The ForumMediaThread instance has no set methods!
Functions
setName
ForumMediaThread . setName () -> ()
self: ForumMediaThread
name: string
Sets the name of the forum thread. Name must be between 1-100 characters.
setAutoArchiveDuration
ForumMediaThread . setAutoArchiveDuration () -> ()
self: ForumMediaThread
duration: number
Sets the duration after which the thread will automatically archive. Duration must be one of: 60, 1440, 4320, or 10080 minutes.
setRateLimitPerUser
ForumMediaThread . setRateLimitPerUser () -> ()
self: ForumMediaThread
rateLimit: number
Sets the rate limit per user for the thread in seconds. Rate limit must not exceed 21600 seconds (6 hours).
addTag
ForumMediaThread . addTag () -> ()
self: ForumMediaThread
rateLimit: string
Adds a tag to the forum thread. Tags can be used to categorize or filter threads.
setMessage
ForumMediaThread . setMessage () -> ()
self: ForumMediaThread
message: messageParams.JSON
Sets the initial message content for the forum thread. The message must be a valid message parameters object.
build
ForumMediaThread . build () -> ()
self: ForumMediaThread
Responsible for building the ForumMediaThread JSON that can be parsed by the Discord API.
new
Responsible for creating a new ForumMediaThread.