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.