c

ackcord.syntax

CategorySyntax

implicit final class CategorySyntax extends AnyVal

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

Instance Constructors

  1. new CategorySyntax(category: GuildCategory)

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 channelById(id: GuildChannelId, guild: Guild): Option[GuildChannel]

    Get a channel by id in this category using an preexisting guild.

    Get a channel by id in this category using an preexisting guild.

    id

    The id of the channel.

  6. def channelById(id: GuildChannelId)(implicit snapshot: CacheSnapshot): Option[GuildChannel]

    Get a channel by id in this category.

    Get a channel by id in this category.

    id

    The id of the channel.

  7. def channels(guild: Guild): Seq[GuildChannel]

    Get all the channels in this category using an preexisting guild.

  8. def channels(implicit snapshot: CacheSnapshot): Seq[GuildChannel]

    Get all the channels in this category.

  9. def channelsByName(name: String, guild: Guild): Seq[GuildChannel]

    Get all the channels with a name in this category using an preexisting guild.

    Get all the channels with a name in this category using an preexisting guild.

    name

    The name of the guilds.

  10. def channelsByName(name: String)(implicit snapshot: CacheSnapshot): Seq[GuildChannel]

    Get all the channels with a name in this category.

    Get all the channels with a name in this category.

    name

    The name of the guilds.

  11. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def modify(name: util.JsonOption[String] = JsonUndefined, position: util.JsonOption[Int] = JsonUndefined, permissionOverwrites: util.JsonOption[SnowflakeMap[UserOrRole, PermissionOverwrite]] = JsonUndefined): ModifyChannel

    Update the settings of this category.

    Update the settings of this category.

    name

    New name of the category.

    position

    New position of the category.

    permissionOverwrites

    The new category permission overwrites.

  14. def textChannelById(id: TextGuildChannelId, guild: Guild): Option[TextGuildChannel]

    Get a text channel by id in this category using an preexisting guild.

    Get a text channel by id in this category using an preexisting guild.

    id

    The id of the channel.

  15. def textChannelById(id: TextGuildChannelId)(implicit snapshot: CacheSnapshot): Option[TextGuildChannel]

    Get a text channel by id in this category.

    Get a text channel by id in this category.

    id

    The id of the channel.

  16. def textChannels(guild: Guild): Seq[TextGuildChannel]

    Get all the text channels in this category using an preexisting guild.

  17. def textChannels(implicit snapshot: CacheSnapshot): Seq[TextGuildChannel]

    Get all the text channels in this category.

  18. def textChannelsByName(name: String, guild: Guild): Seq[TextGuildChannel]

    Get all the text channels with a name in this category using an preexisting guild.

    Get all the text channels with a name in this category using an preexisting guild.

    name

    The name of the guilds.

  19. def textChannelsByName(name: String)(implicit snapshot: CacheSnapshot): Seq[TextGuildChannel]

    Get all the text channels with a name in this category.

    Get all the text channels with a name in this category.

    name

    The name of the guilds.

  20. def toString(): String
    Definition Classes
    Any
  21. def voiceChannelById(id: VoiceGuildChannelId, guild: Guild): Option[VoiceGuildChannel]

    Get a voice channel by id in this category using an preexisting guild.

    Get a voice channel by id in this category using an preexisting guild.

    id

    The id of the channel.

  22. def voiceChannelById[F[_]](id: VoiceGuildChannelId)(implicit snapshot: CacheSnapshot): Option[VoiceGuildChannel]

    Get a voice channel by id in this category.

    Get a voice channel by id in this category.

    id

    The id of the channel.

  23. def voiceChannels(guild: Guild): Seq[VoiceGuildChannel]

    Get all the voice channels in this category using an preexisting guild.

  24. def voiceChannels(implicit snapshot: CacheSnapshot): Seq[VoiceGuildChannel]

    Get all the voice channels in this category.

  25. def voiceChannelsByName(name: String, guild: Guild): Seq[VoiceGuildChannel]

    Get all the voice channels with a name in this category using an preexisting guild.

    Get all the voice channels with a name in this category using an preexisting guild.

    name

    The name of the guilds.

  26. def voiceChannelsByName[F[_]](name: String)(implicit snapshot: CacheSnapshot): Seq[VoiceGuildChannel]

    Get all the voice channels with a name in this category.

    Get all the voice channels with a name in this category.

    name

    The name of the guilds.

Inherited from AnyVal

Inherited from Any

Ungrouped