Class

net.katsstuff.ackcord.syntax

TGuildChannelSyntax

Related Doc: package syntax

Permalink

implicit final class TGuildChannelSyntax extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TGuildChannelSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TGuildChannelSyntax(channel: TGuildChannel)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bulkDelete[Ctx](ids: Seq[MessageId], context: Ctx = NotUsed: NotUsed): BulkDeleteMessages[Ctx]

    Permalink

    Delete multiple messages at the same time.

    Delete multiple messages at the same time.

    ids

    The messages to delete.

  6. def createInvite[Ctx](maxAge: Int = 86400, maxUses: Int = 0, temporary: Boolean = false, unique: Boolean = false, context: Ctx = NotUsed: NotUsed): CreateChannelInvite[Ctx]

    Permalink

    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[Ctx](name: String, avatar: Option[ImageData], context: Ctx = NotUsed: NotUsed): CreateWebhook[Ctx]

    Permalink

    Create a webhook for this channel.

    Create a webhook for this channel.

    name

    The webhook name.

    avatar

    The webhook avatar.

  8. def fetchInvites[Ctx](context: Ctx = NotUsed: NotUsed): GetChannelInvites[Ctx]

    Permalink

    Fetch all the invites created for this channel.

  9. def fetchPinnedMessages[Ctx](context: Ctx = NotUsed: NotUsed): GetPinnedMessages[Ctx]

    Permalink

    Fetch all the pinned messages in this channel.

  10. def fetchWebhooks[Ctx](context: Ctx = NotUsed: NotUsed): GetChannelWebhooks[Ctx]

    Permalink

    Fetch the webhooks for this channel.

  11. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def modify[Ctx](name: JsonOption[String] = JsonUndefined, position: JsonOption[Int] = JsonUndefined, topic: JsonOption[String] = JsonUndefined, nsfw: JsonOption[Boolean] = JsonUndefined, rateLimitPerUser: JsonOption[Int] = JsonUndefined, permissionOverwrites: JsonOption[SnowflakeMap[UserOrRoleTag, PermissionOverwrite]] = JsonUndefined, category: JsonOption[ChannelId] = JsonUndefined, context: Ctx = NotUsed: NotUsed): ModifyChannel[Ctx]

    Permalink

    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.

  14. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped