diff --git a/Makefile b/Makefile index bdf71a5..019e36a 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,8 @@ OBJ=./build OBJECTS=$(OBJ)/*.o EXEC=xbot +.PHONY: mods + main: @rm -rf build @mkdir build @@ -17,5 +19,8 @@ main: $(CC) -o $(EXEC) $(OBJECTS) $(BINFLAGS) @echo "All Done!" +mods: + $(MAKE) -C mods/test + clean: @rm -rf build $(EXEC) \ No newline at end of file diff --git a/README.md b/README.md index c4782e4..96a7d17 100644 --- a/README.md +++ b/README.md @@ -1 +1,21 @@ # xbot + +Xbot is a modular C IRC bot. + + +## Building + +To build xbot use the following commands + + make + make mods + +Afterwords, just edit xbot.cfg and execute the xbot binary. + +## 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 +* JOIN +