Documentation

The database files for InfoBot are written in YAML and parsed with Python.

IRC Colors

Please do not use the IRC colors copied from your IRC client.
Let's say that [C] is the IRC color character copied from IRC, red text would look like this: [C]4red text here
Now extract the number from there and you will get 4, the escape code for [C] is known as \x03 in Python.
Adding it all together will give us \x034red text here!
If you want bold text you simply use this: \x02Bold text here!

See here a list of the IRC colors.

\x02 Bold
\x030 White
\x031 Black
\x032 Blue
\x033 Green
\x034 Light Red
\x035 Brown
\x036 Purple
\x037 Orange
\x038 Yellow
\x039 Light Green
\x0310 Cyan
\x0311 Light Cyan
\x0312 Light Blue
\x0313 Pink
\x0314 Grey
\x0315 Light Grey

Please stick to our style.
Green for general text, start each string with \x033, blue for links and channels, orange for highlighting important stuff and red for really important stuff.

InfoBot database example


"help^":
    "Normal help":
        - item1
        - item2
        - item3
        - item4
        - item5
    "Other help":
        - item1
        - item2
        - item3

"test":
    - "\x033This is a test string!"

Do not add spaces in the item names.


Demostration


<Aeon> -help
<InfoBot> Normal help (5): item1, item2, item3, item4, item5
<InfoBot> Other help (3): item1, item2, item3
<Aeon> -test
<InfoBot> This is a test string!