Package discord4j.core.spec
@NonNullApi
package discord4j.core.spec
Spec
contract and implementations to build requests to Discord.-
ClassDescriptionAuditSpec<T>A spec which can optionally have a reason in the audit logs when built.Spec<T>A contract specifying how an object should be built.A spec to create threads in a forum channel name: 1-100 character channel name autoArchiveDuration: duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 rateLimitPerUser: amount of seconds a user has to wait before sending another message (0-21600) message: a forum thread message object to start the thread with applied_tags: array of tag snowflakes to apply on this threadA spec to create threads from a message.A spec to create threads that are not connected to a message.