Skip to content

kirschte/Lamesauce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lamesauce

A Telegram-Bot for adding messages to a webfrontend (see HOS) via old school IRC format.

Lamesauce currently offers these commands:

  • !auth USER - auths a user to push updates to the webfrontend
  • !deauth USER - deauths a user, thus stopping him from pushing updates
  • !whoisadmin - prints the current authorized user list
  • !help - lists commands and gives a small explanation
  • !bringbeer AMOUNT - brings beer. As lamesauce is quite efficient as a waiter, he can bring up to 4095 beers at once -- but not more.
  • !add QUOTE in MoSQL format. Adds to the webfrontend.
  • !areyoualive - follows a basical Ping-Pong principle

Recommended Usage

For proper usage it is recommended to have binaries/authedUser.txt (used for a list of authedUsers) as well as binaries/add.sh (Unix-Shell-Script for adding a valid MoSQL-Quote [param: $1] to what-ever-you-like-system e.g. HOS) in relative path of Lamesauce.jar.

Syntax of the authedUser-File:
  • <AuthedUserStorage> ::= <authed>;<username>;<userFirstName>
  • <authed> = 0 | 1 //=> 0 eq not-authed; 1 eq authed

Syntax of MoSQL is available under HOS.

Thank you for reading