X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/76dfe9af1549462b3a1225736f2875d5253105d5..b5e5c4470d993b41113ae43b7f5030d412585430:/README.md?ds=sidebyside diff --git a/README.md b/README.md index 6a7fbdb..497662d 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,63 @@ -Modular {Python2,Python3} IRC bot -================================= +Modular Python3 IRC bot +=========================== -Getting started: +Getting started +--------------- - `cp bot.config.example bot.config` - `vim bot.config` - Create a MySQL database, i.e. `CREATE DATABASE foo; GRANT ALL ON foo.* TO ...` - `mysql ` + +However, due to the message buffering mentioned above, there is no command listing available over IRC unless nofakelag is enabled. In order to generate a command listing, you must do the following: +1. Set `[help] path` in the config file, if needed, to a path which exists and is available on the web. f.e. `[help] path = /home/jrunyon/public_html/help/%(#)d.txt`. Several values are available, for use with !GENHELP; they are the same as the prefix characters @#+- (see !HELP GENHELP). This determines the path to which !GENHELP will save output files. +1. Set `[help] url` in the config file to a path where help can be found, f.e. `[help] url = https://jfr.im/help/%d.txt`. %d (or %s) will be replaced with the user's level. This determines the URL which is provided to users when they !SHOWCOMMANDS +1. Run `!GENHELP` whenever you change which modules (or commands) are available, or else just set `[help] autogen = 1`. + +(With `nofakelag = 1`, `!SHOWCOMMANDS` will spam the user with the whole list of commands.) + + +Support +------- +If you have any questions, issues, fixes, etc. message DimeCadmium on irc.quakenet.org