|
|
@ -101,8 +101,8 @@ def handle_message(message)
|
|
|
|
when '/start'
|
|
|
|
when '/start'
|
|
|
|
reply = "Introduction: I am #{@botname}, and I am here to make life easier for meatbag admins like you. Currently I can retrieve information " +
|
|
|
|
reply = "Introduction: I am #{@botname}, and I am here to make life easier for meatbag admins like you. Currently I can retrieve information " +
|
|
|
|
"from an Empyrion server as well as kill the server process.\n\n" +
|
|
|
|
"from an Empyrion server as well as kill the server process.\n\n" +
|
|
|
|
"Commands available:\n/start (Shows this message)\n/srvstart (Probably won't work)\n/srvstop\n/status\n/whoami\n\n" +
|
|
|
|
"Commands available:\n/start (Shows this message)\n/srvstart (Currently non-functional)\n/srvstop\n/status\n/whoami\n\n" +
|
|
|
|
"Check again later to see if any new functions have been added."
|
|
|
|
"Check again later to see if any new functions have been added, or use /patchnotes to learn about recent updates."
|
|
|
|
if ! message_from_admin?(message, adm) && ! is_chat_authorized?(message, @auth_chat)
|
|
|
|
if ! message_from_admin?(message, adm) && ! is_chat_authorized?(message, @auth_chat)
|
|
|
|
if message.from.id == message.chat.id
|
|
|
|
if message.from.id == message.chat.id
|
|
|
|
reply = reply + "\n\nWARNING: I am not authorized to work you directly. My functionality is limited."
|
|
|
|
reply = reply + "\n\nWARNING: I am not authorized to work you directly. My functionality is limited."
|
|
|
|