class DiscordMiddleware::Author
- DiscordMiddleware::Author
- Reference
- Object
Overview
Matches the author the message event was raised with based on several different attributes.
Included Modules
Defined in:
discordcr-middleware/middleware/author.crConstructors
- .new(id : UInt64? = nil, username : String? = nil, discriminator : String? = nil, bot : Bool? = nil)
Instance Method Summary
Constructor Detail
def self.new(id : UInt64? = nil, username : String? = nil, discriminator : String? = nil, bot : Bool? = nil)
#