c

ackcord.syntax

TextGuildChannelSyntax

implicit final class TextGuildChannelSyntax extends AnyVal

Source
syntax.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextGuildChannelSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TextGuildChannelSyntax(channel: TextGuildChannel)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bulkDelete(ids: Seq[MessageId]): BulkDeleteMessages

    Delete multiple messages at the same time.

    Delete multiple messages at the same time.

    ids

    The messages to delete.

  6. def createInvite(maxAge: Int = 86400, maxUses: Int = 0, temporary: Boolean = false, unique: Boolean = false): CreateChannelInvite

    Create an invite for this channel.

    Create an invite for this channel.

    maxAge

    Duration in seconds before this invite expires.

    maxUses

    Amount of times this invite can be used before expiring, or 0 for unlimited.

    temporary

    If this invite only grants temporary membership.

    unique

    If true, guarantees to create a new invite.

  7. def createWebhook(name: String, avatar: Option[ImageData]): CreateWebhook

    Create a webhook for this channel.

    Create a webhook for this channel.

    name

    The webhook name.

    avatar

    The webhook avatar.

  8. def fetchInvites: GetChannelInvites

    Fetch all the invites created for this channel.

  9. def fetchPinnedMessages: GetPinnedMessages

    Fetch all the pinned messages in this channel.

  10. def fetchWebhooks: GetChannelWebhooks

    Fetch the webhooks for this channel.

  11. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def listJoinedPrivateArchivedThreads(before: Option[OffsetDateTime] = None, limit: Option[Int] = None): ListPublicArchivedThreads

    Lists all the joined private archived threads in this channel.

    Lists all the joined private archived threads in this channel. Threads are ordered in descending order by RawThreadMetadata.archiveTimestamp.

  14. def listPrivateArchivedThreads(before: Option[OffsetDateTime] = None, limit: Option[Int] = None): ListPublicArchivedThreads

    Lists all the private archived threads in this channel.

    Lists all the private archived threads in this channel. Threads are ordered in descending order by RawThreadMetadata.archiveTimestamp.

  15. def listPublicArchivedThreads(before: Option[OffsetDateTime] = None, limit: Option[Int] = None): ListPublicArchivedThreads

    Lists all the public archived threads in this channel.

    Lists all the public archived threads in this channel. Threads are ordered in descending order by RawThreadMetadata.archiveTimestamp.

  16. def modify(name: util.JsonOption[String] = JsonUndefined, tpe: util.JsonOption[ChannelType] = JsonUndefined, position: util.JsonOption[Int] = JsonUndefined, topic: util.JsonOption[String] = JsonUndefined, nsfw: util.JsonOption[Boolean] = JsonUndefined, rateLimitPerUser: util.JsonOption[Int] = JsonUndefined, permissionOverwrites: util.JsonOption[SnowflakeMap[UserOrRole, PermissionOverwrite]] = JsonUndefined, category: util.JsonOption[SnowflakeType[GuildCategory]] = JsonUndefined): ModifyChannel

    Update the settings of this channel.

    Update the settings of this channel.

    name

    New name of the channel.

    position

    New position of the channel.

    topic

    The new channel topic for text channels.

    nsfw

    If the channel is NSFW for text channels.

    rateLimitPerUser

    The new user ratelimit for guild text channels.

    permissionOverwrites

    The new channel permission overwrites.

    category

    The new category id of the channel.

  17. def startThread(name: String, tpe: ThreadChannelType = ChannelType.GuildPrivateThread, autoArchiveDuration: Option[Int] = None, invitable: Option[Boolean] = None, rateLimitPerUser: Option[Int] = None): StartThreadWithoutMessage

    Start a new thread in this channel without a message.

  18. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped