Open termoose opened 4 years ago
The isupport_params
event gives you the PREFIX configuration for each connection which tells you which symbols to display for each mode.
The defaults we use when PREFIX isn't set is:
Y
): !
q
): ~
a
): &
o
): @
h
): %
v
): +
Note that some networks use Y
for Owner instead of Oper, on these networks there is a parameter in the isupport parameters called "OWNER" that should contain the correct mode letter. You can also check the usermodes
attribute on the isupport_params
event for a list of all the valid modes on the network.
Oh that's much better, thanks for letting me know!
With support for the following
h
with prefix%
v
with prefix+
o
with prefix@
Already have (unused) function
UserModeString
for converting IRCCloud API responses to correct prefixes