diff --git a/empyrion-bot.rb b/empyrion-bot.rb index 491ddbf..46b7bfd 100755 --- a/empyrion-bot.rb +++ b/empyrion-bot.rb @@ -13,14 +13,15 @@ Telegram::Bot::Client.run(token) do |bot| bot.listen do |message| case message.text when '/start' - reply = "This bot will eventually (hopefully) be able retrieve information and pass start/stop commands from/to an Empyrion server, to make life easier for meatbags like you." + reply = "This bot will eventually (hopefully) be able retrieve information and pass start/stop commands from/to an Empyrion server, to make life easier for meatbags like you.\n\n" + + "Commands available:\n/start\n/srvstart\n/srvstop\n/status" puts "Sending #{reply.inspect}" bot.api.send_message(chat_id: message.chat.id, text: "#{reply}") - when '/srv-start' + when '/srvstart' reply = "UNAVAILABLE: This command would start the game server if the code were there." puts "Sending #{reply.inspect}" bot.api.send_message(chat_id: message.chat.id, text: "#{reply}") - when '/srv-stop' + when '/srvstop' reply = "UNAVAILABLE: This command would stop the game server if the code were there." puts "Sending #{reply.inspect}" bot.api.send_message(chat_id: message.chat.id, text: "#{reply}")