Sha256: 14acb1a13118c36938554750efb9ffc54d74594f113db221138a50a5fa90d6cb
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
module Discorb # # Represents a category in a guild. class CategoryChannel < Discorb::GuildChannel include Discorb::ChannelContainer %a{pure} def channels: -> Array[Discorb::GuildChannel] def create_text_channel: ( String name, ?topic: String?, ?rate_limit_per_user: Integer?, ?slowmode: Integer?, ?position: Integer?, ?nsfw: bool?, ?permission_overwrites: Hash[(Discorb::Role | Discorb::Member), Discorb::PermissionOverwrite]?, ?parent: Discorb::CategoryChannel?, ?reason: String? ) -> Async::Task[Discorb::TextChannel] def create_voice_channel: ( String name, ?bitrate: Integer, ?user_limit: Integer?, ?position: Integer?, ?permission_overwrites: Hash[(Discorb::Role | Discorb::Member), Discorb::PermissionOverwrite]?, ?parent: Discorb::CategoryChannel?, ?reason: String? ) -> Async::Task[Discorb::VoiceChannel] def create_news_channel: ( String name, ?topic: String?, ?rate_limit_per_user: Integer?, ?slowmode: Integer?, ?position: Integer?, ?nsfw: bool?, ?permission_overwrites: Hash[(Discorb::Role | Discorb::Member), Discorb::PermissionOverwrite]?, ?parent: Discorb::CategoryChannel?, ?reason: String? ) -> Async::Task[Discorb::NewsChannel] def create_stage_channel: ( String name, ?bitrate: Integer, ?position: Integer?, ?permission_overwrites: Hash[(Discorb::Role | Discorb::Member), Discorb::PermissionOverwrite]?, ?parent: Discorb::CategoryChannel?, ?reason: String? ) -> Async::Task[Discorb::StageChannel] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discorb-0.20.0 | sig/discorb/channel/category.rbs |
discorb-0.19.0 | sig/discorb/channel/category.rbs |