implicit final class CategorySyntax extends AnyVal
- Source
- syntax.scala
- Alphabetic
- By Inheritance
- CategorySyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CategorySyntax(category: GuildCategory)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def channelById(id: GuildChannelId, guild: GatewayGuild): 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.
- 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.
- def channels(guild: GatewayGuild): Seq[GuildChannel]
Get all the channels in this category using an preexisting guild.
- def channels(implicit snapshot: CacheSnapshot): Seq[GuildChannel]
Get all the channels in this category.
- def channelsByName(name: String, guild: GatewayGuild): 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.
- 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.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- def normalVoiceChannelById(id: NormalVoiceGuildChannelId, guild: GatewayGuild): Option[NormalVoiceGuildChannel]
Get a normal voice channel by id in this category using an preexisting guild.
Get a normal voice channel by id in this category using an preexisting guild.
- id
The id of the channel.
- def normalVoiceChannelById[F[_]](id: NormalVoiceGuildChannelId)(implicit snapshot: CacheSnapshot): Option[NormalVoiceGuildChannel]
Get a normal voice channel by id in this category.
Get a normal voice channel by id in this category.
- id
The id of the channel.
- def normalVoiceChannels(guild: GatewayGuild): Seq[NormalVoiceGuildChannel]
Get all the normal voice channels in this category using an preexisting guild.
- def normalVoiceChannels(implicit snapshot: CacheSnapshot): Seq[NormalVoiceGuildChannel]
Get all the normal voice channels in this category.
- def normalVoiceChannelsByName(name: String, guild: GatewayGuild): Seq[NormalVoiceGuildChannel]
Get all the normal voice channels with a name in this category using an preexisting guild.
Get all the normal voice channels with a name in this category using an preexisting guild.
- name
The name of the guilds.
- def normalVoiceChannelsByName[F[_]](name: String)(implicit snapshot: CacheSnapshot): Seq[NormalVoiceGuildChannel]
Get all the normal voice channels with a name in this category.
Get all the normal voice channels with a name in this category.
- name
The name of the guilds.
- def stageChannelById(id: StageGuildChannelId, guild: GatewayGuild): Option[StageGuildChannel]
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.
- def stageChannelById[F[_]](id: StageGuildChannelId)(implicit snapshot: CacheSnapshot): Option[StageGuildChannel]
Get a voice channel by id in this category.
Get a voice channel by id in this category.
- id
The id of the channel.
- def stageChannels(guild: GatewayGuild): Seq[StageGuildChannel]
Get all the stage channels in this category using an preexisting guild.
- def stageChannels(implicit snapshot: CacheSnapshot): Seq[StageGuildChannel]
Get all the stage channels in this category.
- def stageChannelsByName(name: String, guild: GatewayGuild): Seq[StageGuildChannel]
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.
- def stageChannelsByName[F[_]](name: String)(implicit snapshot: CacheSnapshot): Seq[StageGuildChannel]
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.
- def textChannelById(id: TextGuildChannelId, guild: GatewayGuild): 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.
- 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.
- def textChannels(guild: GatewayGuild): Seq[TextGuildChannel]
Get all the text channels in this category using an preexisting guild.
- def textChannels(implicit snapshot: CacheSnapshot): Seq[TextGuildChannel]
Get all the text channels in this category.
- def textChannelsByName(name: String, guild: GatewayGuild): 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.
- 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.
- def toString(): String
- Definition Classes
- Any
- def voiceChannelById(id: VoiceGuildChannelId, guild: GatewayGuild): 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.
- 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.
- def voiceChannels(guild: GatewayGuild): Seq[VoiceGuildChannel]
Get all the voice channels in this category using an preexisting guild.
- def voiceChannels(implicit snapshot: CacheSnapshot): Seq[VoiceGuildChannel]
Get all the voice channels in this category.
- def voiceChannelsByName(name: String, guild: GatewayGuild): 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.
- 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.