c

ackcord.syntax

ChannelSyntax

implicit final class ChannelSyntax extends AnyVal

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

Instance Constructors

  1. new ChannelSyntax(channel: Channel)

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. def asCategory: Option[GuildCategory]

    If this is a category, convert it to one.

  5. def asDMChannel: Option[DMChannel]

    If this is a DM channel, convert it to one.

  6. def asGroupDMChannel: Option[GroupDMChannel]

    If this is a group DM channel, convert it to one.

  7. def asGuildChannel: Option[GuildChannel]

    If this is a guild channel, convert it to one.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asNormalVoiceGuildChannel: Option[NormalVoiceGuildChannel]

    If this is a normal voice channel, convert it to one.

  10. def asStageGuildChannel: Option[StageGuildChannel]

    If this is a stage channel, convert it to one.

  11. def asTextChannel: Option[TextChannel]

    If this is a text channel, convert it to one.

  12. def asTextGuildChannel: Option[TextGuildChannel]

    If this is a text guild channel, convert it to one.

  13. def asVoiceGuildChannel: Option[VoiceGuildChannel]

    If this is a voice channel, convert it to one.

  14. def delete: DeleteCloseChannel

    Delete or close this channel.

  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped