HalosGhost / ailur

A highly extensible bot written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot

This is an experimental IRC bot written entirely in lua.

It exists almost exclusively to help me learn about the IRC protocol and to allow for quick prototyping before I actually dive in and code a bot in C.

PRs / Issues welcome, but note that, because this is a prototype, feature requests may be unlikely to be completed.

Setup

You should have lua 5.3 installed as well as some additional lua libraries. These libraries can be installed using your operating system's package management or luarocks.

Required libraries

  • luafilesystem
  • lsqlite3
  • luasocket
  • luajson
  • luasec

Configuration

Upstream provides a default configuration in default_config.lua. This file should not be modified; rather, if you wish to provide your own configuration, copy the default configuration to config.lua and modify it to your liking:

$ cp default_config.lua config.lua
$ $EDITOR config.lua

Starting the Bot

In a terminal run the following command in the src directory:

lua main.lua

Support

Bugs should be reported on the GitHub issue tracker.

License

This codebase is licsensed under the GNU General Public License v2.0. All contributions should likewise be licensed the same.

About

A highly extensible bot written in lua

License:GNU General Public License v2.0


Languages

Language:Lua 100.0%