class BCDice::GameSystem::KurayamiCrying
Constants
- HELP_MESSAGE
ダイスボットの使い方
- ID
ゲームシステムの識別子
- NAME
ゲームシステム名
- SORT_KEY
ゲームシステム名の読みがな
- TABLES
Public Instance Methods
eval_game_system_specific_command(command)
click to toggle source
# File lib/bcdice/game_system/KurayamiCrying.rb, line 29 def eval_game_system_specific_command(command) if (m = /^ACT(\d+)$/i.match(command)) number = m[1].to_i return TABLES["ACT"].choice(number).to_s else roll_tables(command, TABLES) end end