fix description

This commit is contained in:
takumi091111
2017-10-29 04:17:33 +09:00
parent 1c5686018a
commit ba809f7d5a

View File

@ -37,7 +37,7 @@ module Bot
nil
end
command(:volume, usage: 'volume <数値>', description: '音量を設定(0~200)', min_args: 1) do |event, vol|
command(:volume, usage: 'volume <数値>', description: '音量を設定(0~2)', min_args: 1) do |event, vol|
next unless (0.0..2.0).include?(vol.to_f)
event.voice.volume = vol.to_f
nil