Added "setGame" command

This commit is contained in:
takumi091111
2017-10-11 18:35:50 +09:00
parent dc1cb82554
commit 0f9a138a0e

View File

@ -26,6 +26,11 @@ module Bot
end
end
command(:setGame, usage: 'setGame <ゲーム名>', description: 'プレイ中のゲームを設定') do |event, game|
BOT.game = game
nil
end
command(:shutdown, usage: 'shutdown', description: 'Botを終了') do |event|
next unless event.author == '153106386585255936'
exit(0)