mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-25 19:54:25 +01:00
docs: fix markdown formatting
This commit is contained in:
parent
e4815a72e1
commit
bf2b256b84
@ -25,7 +25,7 @@ On UnrealIRCd, because SETHOST is mapped to CHGHOST, `:GL SETHOST blah` would re
|
|||||||
|
|
||||||
Some hooks, like MODE, are more complex and can include the entire state of a channel! This will be further described later. `:GL MODE #chat +o PyLink-devel` is converted into (pretty-printed for readability):
|
Some hooks, like MODE, are more complex and can include the entire state of a channel! This will be further described later. `:GL MODE #chat +o PyLink-devel` is converted into (pretty-printed for readability):
|
||||||
|
|
||||||
- ```
|
```
|
||||||
['001ZJZW01',
|
['001ZJZW01',
|
||||||
'MODE',
|
'MODE',
|
||||||
{'modes': [('+o', '38QAAAAAA')],
|
{'modes': [('+o', '38QAAAAAA')],
|
||||||
@ -59,5 +59,5 @@ Plugins like Relay need this to know that the uplink has finished bursting all i
|
|||||||
|
|
||||||
The following hooks represent regular IRC commands sent between servers.
|
The following hooks represent regular IRC commands sent between servers.
|
||||||
|
|
||||||
<br><br><br>
|
<br><br>
|
||||||
(under construction)
|
(under construction)
|
||||||
|
@ -126,7 +126,7 @@ Then, the parsed mode lists can be applied to channel using `utils.applyModes(ir
|
|||||||
|
|
||||||
Modes are stored in channels and users as sets: `(userobj or chanobj).modes`:
|
Modes are stored in channels and users as sets: `(userobj or chanobj).modes`:
|
||||||
|
|
||||||
- ```
|
```
|
||||||
<+GLolol> PyLink-devel, eval irc.users[source].modes
|
<+GLolol> PyLink-devel, eval irc.users[source].modes
|
||||||
<@PyLink-devel> {('i', None), ('x', None), ('w', None), ('o', None)}
|
<@PyLink-devel> {('i', None), ('x', None), ('w', None), ('o', None)}
|
||||||
<+GLolol> PyLink-devel, eval irc.channels['#chat'].modes
|
<+GLolol> PyLink-devel, eval irc.channels['#chat'].modes
|
||||||
@ -135,7 +135,7 @@ Modes are stored in channels and users as sets: `(userobj or chanobj).modes`:
|
|||||||
|
|
||||||
*With the exception of channel prefix modes* (op, voice, etc.), which are stored as a dict of sets in `chanobj.prefixmodes`:
|
*With the exception of channel prefix modes* (op, voice, etc.), which are stored as a dict of sets in `chanobj.prefixmodes`:
|
||||||
|
|
||||||
- ```
|
```
|
||||||
<@GLolol> PyLink-devel, eval irc.channels['#chat'].prefixmodes
|
<@GLolol> PyLink-devel, eval irc.channels['#chat'].prefixmodes
|
||||||
<+PyLink-devel> {'ops': set(), 'halfops': set(), 'voices': {'38QAAAAAA'}, 'owners': set(), 'admins': set()}
|
<+PyLink-devel> {'ops': set(), 'halfops': set(), 'voices': {'38QAAAAAA'}, 'owners': set(), 'admins': set()}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user