mirror of
https://github.com/mii443/rbot.git
synced 2025-08-22 23:55:28 +00:00
fix description
This commit is contained in:
@ -37,7 +37,7 @@ module Bot
|
|||||||
nil
|
nil
|
||||||
end
|
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)
|
next unless (0.0..2.0).include?(vol.to_f)
|
||||||
event.voice.volume = vol.to_f
|
event.voice.volume = vol.to_f
|
||||||
nil
|
nil
|
||||||
|
Reference in New Issue
Block a user