class BotCommand
This object represents a bot command¶ ↑
Public Instance Methods
command()
click to toggle source
Text of the command, 1-32 characters. Can contain only lowercase English letters, digits and underscores.
# File lib/objects/bot_command.rb, line 16 def command @bot.command end
description()
click to toggle source
Description of the command, 3-256 characters.
# File lib/objects/bot_command.rb, line 21 def description @bot.description end