Welcome to ircbot’s documentation!¶
This is the bot used for #dgplug summer training program.
Please read the usage guide if you want to use it for your channel.
Usage of ircbot¶
This is a bot written for #dgplug summer training. This also means it follows the way, we organize the sessions on #dgplug channel on freenode.
config.yml¶
This file contains the configuration of the tool. An example is given below:
nick = "ircbot42"
realname = "ircbot42"
fullname = "ircbot42"
channel = "#libera"
password = ""
trainers = ["nick1", "nick2"]
trainers are nicks who have power over the bot. They can execute various actions, as explained below.
Start a session¶
#startclass
Give the above command in the IRC channel itself. Remember, that this does not work in PM.
End a class¶
#endclass
This ends the class. This also has to be provided in the channel itself. After ending the session the bot will try to upload the log.
You can also end in a different way, which doesn’t try to upload the log.
#endclass nolog
Ask the next person to ask their question¶
next
Stop taking questions¶
#questions off
Start taking questions again¶
#questions on
Can students ask questions now?¶
#questions