mirror of
https://github.com/mii443/rbot.git
synced 2025-08-22 15:45:30 +00:00
Fix min_args
This commit is contained in:
@ -26,7 +26,7 @@ module Bot
|
||||
end
|
||||
end
|
||||
|
||||
command(:setGame, usage: 'setGame <ゲーム名>', description: 'プレイ中のゲームを設定') do |event, game|
|
||||
command(:setGame, usage: 'setGame <ゲーム名>', description: 'プレイ中のゲームを設定', min_args: 1) do |event, game|
|
||||
BOT.game = game
|
||||
nil
|
||||
end
|
||||
|
Reference in New Issue
Block a user