Forums - Open Redstone Engineers
ChatNinja (IRC chatbot) - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: ChatNinja (IRC chatbot) (/thread-6189.html)

Pages: 1 2 3


ChatNinja (IRC chatbot) - tokumei - 04-17-2015

A work-in-progress modular chatbot API. I plan to have a command system as well as an event handler for IRC messages such as PM, join, part, etc which one can develop plugins around. My personal bot will most likely have a custom conversation bot and some useful calculator functions. The code may be viewed at http://github.com/NonemuNinja/ChatNinja or you can see my fork (with some more recent commits) at http://github.com/AGausmann/ChatNinja


RE: ChatNinja (IRC chatbot) - tokumei - 04-18-2015

Here's a sneak peek of the user interface:

[redacted - obsolete]

I dunno if I will follow through with the UI. If I do, it will be 100% optional. There will also be a CLI to execute commands from.


RE: ChatNinja (IRC chatbot) - tokumei - 04-18-2015

Latest update: I've purged the code of all UI elements so I can focus on more important things such as events, commands, and plugins surrounding them.


RE: ChatNinja (IRC chatbot) - Nickster258 - 04-18-2015

This looks quite nice.


RE: ChatNinja (IRC chatbot) - tokumei - 04-20-2015

Update: The bot has a beta event scheduler now, but it still will do nothing if you try to run it Tongue


RE: ChatNinja (IRC chatbot) - tokumei - 05-06-2015

Update: AFAIK the bot is able to connect to IRC servers and auto-join channels upon connection. It still has no front-end interface; you must modify the properties file in order to change the settings.

It now outputs private messages and some other commands sent by the server to the console. However, I'm still working on the command, event, and plugin subsystems. The biggest task right now is segregating the API from the implementation.


RE: ChatNinja (IRC chatbot) - PabloDons - 05-07-2015

soo uh, what lang?


RE: ChatNinja (IRC chatbot) - tokumei - 05-07-2015

All changes so far have been pushed to the upstream tree. Currently, it will auto-connect, auto-join, and throw all events that have been created at appropriate times. I'm currently working on the command system, then plugins will come after.

It now has an API which is independent of the official implementation. This allows for other implementations of the API, and also provides a standard library for plugin development.

(05-07-2015, 08:49 AM)PabloDons Wrote: soo uh, what lang?

Java (you should see it in github repository stats)


RE: ChatNinja (IRC chatbot) - tokumei - 05-08-2015

I just added JavaDoc to the main repository, which will make it easier to contribute and develop plugins for the bot API. I plan on placing the generated docs at http://docs.nonemu.info/chatninja/. It should be automatically built once I have TeamCity up and running.


RE: ChatNinja (IRC chatbot) - tokumei - 05-09-2015

The command system is progressing well!!!!!!

It features a generated help page, a beta permissions system, and pre-packaged utility/administration commands.

The debut:

[Image: rxLZaxJ.png]

I'll work on finalizing permissions and adding more utilities. Next, I will work on plugins. After that, it's a long series of bug tests and optimizations.