Skip to content

class Tourmaline::BotCommandScopeDefault
inherits Reference #

Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(type) #

View source

Methods#

#type : String #

Scope type, must be default

View source

#type=(type : String) #

Scope type, must be default

View source