2024-03-08 19:42:57 +00:00
< p align = "center" >
2024-03-08 19:56:18 +00:00
< img src = "https://raw.githubusercontent.com/ablakely/xbot/master/resources/xbot.png" alt = "xbot" >
2024-03-08 19:42:57 +00:00
< br >
< h2 align = "center" > xbot< / h2 >
< / p >
2024-03-08 19:40:34 +00:00
2024-02-17 06:03:20 +00:00
xbot is a modular IRC bot in C for Linux and Windows
2015-04-07 16:44:37 +00:00
## Building
2024-03-14 09:44:55 +00:00
### Linux
2015-04-07 16:44:37 +00:00
To build xbot use the following commands
make
make mods
2024-03-14 09:44:55 +00:00
### Windows
To build xbot on Windows, you will need to use the Visual Studio solution file which is located in the root directory of the project.
Currently only the debug build target is configured for the Visual Studio solution file. The release build target will be added in the future.
All of the dependencies for xbot are included in the repository, so you should be able to build the project without any additional setup.
Tested with Visual Studio 2010.
2024-03-14 09:48:16 +00:00
#### Modules
As of current modules are built outside of the main build process. To build modules, you will need to either use the provided batch file or build them manually.
buildmod.bat < module >
More complex modules may include a ```make.bat``` file which can be used to build the module.
This will be improved in the future.
2024-03-14 09:44:55 +00:00
## Configuration
The bot will read xbot.cfg if none is specified at the command line with ```-c < file > ```.
2015-04-07 16:44:37 +00:00
## Built-in Admin Commands
These are commands which allow the bot's admin to control it once it's connected to the IRC server.
* LOADMOD < module >
2024-02-17 06:03:20 +00:00
* UNLOADMOD < module >
2024-02-17 08:21:22 +00:00
* MODLIST
2015-04-07 16:44:37 +00:00
* JOIN < channel >
2024-03-14 09:44:55 +00:00
## Modules
Modules are the main way to extend the functionality of the bot. They are loaded at runtime and can be unloaded and reloaded without restarting the bot.
Currently, the following modules are included:
2024-03-14 09:49:23 +00:00
* lua - Provides Lua scripting support
* openssl - Provides SSL support
2024-03-14 09:44:55 +00:00
* test
## Windows Support Notes
### Windows XP
OpenSSL doesn't work on Windows XP, without some kind of kernel extensions for XP.
Luarocks doesn't work on Windows XP due to symlinks not being supported.
## License
xbot is licensed under the MIT License. See the LICENSE file for more information.
---
Written by Aaron Blakely. Copyright 2024.