Replace "<" with "&lt;"

This commit is contained in:
jesopo 2019-04-15 17:04:43 +01:00
parent f19fa24044
commit 0b84c879d4

View file

@ -5,9 +5,9 @@
* Run `./start.py -m permissions -M master-password` to get the master admin password (needed to add regular admin accounts) * Run `./start.py -m permissions -M master-password` to get the master admin password (needed to add regular admin accounts)
* Run `./start.py` to start the bot. * Run `./start.py` to start the bot.
* Join `#bitbot` on a server with the bot (or invite it to another channel) * Join `#bitbot` on a server with the bot (or invite it to another channel)
* `/msg <bot> register <password here>` to register your nickname with the bot * `/msg &lt;bot> register &lt;password here>` to register your nickname with the bot
* `/msg <bot> masterlogin <master admin password>` to login as master admin * `/msg &lt;bot> masterlogin &lt;master admin password>` to login as master admin
* `/msg <bot> givepermission <your nickname> *` to give your account admin permissions * `/msg &lt;bot> givepermission &lt;your nickname> *` to give your account admin permissions
### Configure client TLS certificate ### Configure client TLS certificate
@ -19,34 +19,34 @@ Configure the bot to use SASL to authenticate (usually used for `NickServ` ident
`EXTERNAL` usually mean client TLS certificate authentication; `USERPASS` is a BitBot-specific term that selects the strongest user/password algorithm. `EXTERNAL` usually mean client TLS certificate authentication; `USERPASS` is a BitBot-specific term that selects the strongest user/password algorithm.
> /msg <bot> config server sasl userpass &lt;username>:&lt;password> > /msg &lt;bot> config server sasl userpass &lt;username>:&lt;password>
> /msg <bot> config server sasl plain &lt;username>:&lt;password> > /msg &lt;bot> config server sasl plain &lt;username>:&lt;password>
> /msg <bot> config server sasl scram-sha-1 &lt;username>:&lt;password> > /msg &lt;bot> config server sasl scram-sha-1 &lt;username>:&lt;password>
> /msg <bot> config server sasl scram-sha-256 &lt;username>:&lt;password> > /msg &lt;bot> config server sasl scram-sha-256 &lt;username>:&lt;password>
> /msg <bot> config server sasl external > /msg &lt;bot> config server sasl external
### Commands on-connect ### Commands on-connect
The `perform.py` module allows the bot to execute a saved list of raw IRC commands against a server it's connecting to. Use `/msg <bot> performadd <raw irc command>` to add to the current server's list of commands (`%nick%` in a raw command will be replaced with the bot's current nick.) The `perform.py` module allows the bot to execute a saved list of raw IRC commands against a server it's connecting to. Use `/msg &lt;bot> performadd &lt;raw irc command>` to add to the current server's list of commands (`%nick%` in a raw command will be replaced with the bot's current nick.)
### Config options ### Config options
#### View available config options #### View available config options
> /msg <bot> config bot|server|channel|user > /msg &lt;bot> config bot|server|channel|user
#### Set config options #### Set config options
> /msg <bot> config bot <setting> <value> > /msg &lt;bot> config bot &lt;setting> &lt;value>
> /msg <bot> config server <setting> <value> > /msg &lt;bot> config server &lt;setting> &lt;value>
> /msg <bot> config channel:#bitbot <setting> <value> > /msg &lt;bot> config channel:#bitbot &lt;setting> &lt;value>
> /msg <bot> config user <setting> <value> > /msg &lt;bot> config user &lt;setting> &lt;value>
> /msg <bot> config user:other_user <setting> <value> > /msg &lt;bot> config user:other_user &lt;setting> &lt;value>