puts"Received command from "+"#{message.from.username}".cyan.bold+": #{command}"
putsTime.now.strftime("%F %H:%M:%S").yellow+": Received command from "+"#{message.from.username}".cyan.bold+" ["+"#{message.from.id}".cyan+"]: "+"#{command}".magenta.bold
casecommand
casecommand
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 "+
@ -131,13 +139,19 @@ def handle_message(message)
"Commands available:\n/start (Shows this message)\n/srvstart (Currently non-functional)\n/srvstop\n/status\n/whoami or /chatinfo\n/whereareyou or /location\n\n"+
"Commands available:\n/start (Shows this message)\n/srvstart (Currently non-functional)\n/srvstop\n/status\n/whoami or /chatinfo\n/whereareyou or /location\n\n"+
"Check again later to see if any new functions have been added, or use /patchnotes to learn about recent updates.\n"+
"Check again later to see if any new functions have been added, or use /patchnotes to learn about recent updates.\n"+
"You can also view the source code at the following location:\nhttps://git.skyfall.tech/skyfall/empyrion-bot"
"You can also view the source code at the following location:\nhttps://git.skyfall.tech/skyfall/empyrion-bot"