served hot on your command line 😈
A sophisticated and very shiny euphoria.io CLI, offering colour IDs, reply options, tricks for dealing with threads, and magic.
rated as the best euphoria CLI 2017.
for the dependencies run:
$ npm i
configure a config.json file or use the included default, the format is as below:
{
"nick": "K",
"room": "xkcd",
"human": 1,
"override": true,
"afk": {
"enabled": true,
"delay": 600
}
}
To run it from the command line and connect to the default room (set in the config):
$ node .
Any root option in the config can be set on startup using long format arguments.
$ --nick ><>
will set the username to ><>
.
$ node . --room music
will join the room music instead of the default set room.
There are no prefixes to commands, all commands can be either send in declarative English or as the first letter of the command.
Post a single post to the root thread.
K> post Hi guys :D
Reply to the last message send.
xyzzy: how are you?
K> reply Good :D
Sets the nick of the bot.
K> nick ><>
><>>
Affixes - AFK to the nick.
K> afk
K - AFK>
Quits the program entirely.
To run the unit tests simply run: npm test
MIT © Kalium