Sha256: 0c531c0d3364e95f76e22b41e3995c4661411cadcc5837f70e12d79b091b6b58

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

module Discorb
  #
  # Represents a news channel (announcement channel).
  class NewsChannel < Discorb::TextChannel
    DEFAULT_AUTO_ARCHIVE_DURATION: untyped

    #
    # Follow the existing announcement channel from self.
    # @async
    #
    # @param [Discorb::TextChannel] target The channel to follow to.
    # @param [String] reason The reason of following the channel.
    #
    # @return [Async::Task<void>] The task.
    def follow_to: (
      Discorb::TextChannel target,
      ?reason: String?
    ) -> Async::Task[void]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
discorb-0.20.0 sig/discorb/channel/news.rbs
discorb-0.19.0 sig/discorb/channel/news.rbs
discorb-0.18.1 sig/discorb/channel/news.rbs
discorb-0.18.0 sig/discorb/channel/news.rbs