class DiscordMiddleware::Channel
- DiscordMiddleware::Channel
- Reference
- Object
Overview
Matches the channel the message event was raised from based on several different attributes. If the client has a cache enabled, it will be used to resolve the channel the message came from.
Included Modules
Defined in:
discordcr-middleware/middleware/channel.crConstructors
Instance Method Summary
Constructor Detail
def self.new(id : UInt64? = nil, name : String? = nil, topic : String? = nil, nsfw : Bool? = nil, guild_id : UInt64? = nil, type : Discord::ChannelType? = nil)
#