irccloud icon indicating copy to clipboard operation
irccloud copied to clipboard

Show operator/voice status in channel member list

Open termoose opened this issue 5 years ago • 2 comments

With support for the following

  • halfop h with prefix %
  • voice v with prefix +
  • operator o with prefix @

Already have (unused) function UserModeString for converting IRCCloud API responses to correct prefixes

termoose avatar Jan 24 '20 22:01 termoose

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:

  • Oper (Y): !
  • Owner (q): ~
  • Admin (a): &
  • Operator (o): @
  • Halfop (h): %
  • Voice (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.

c99koder avatar Jun 16 '20 01:06 c99koder

Oh that's much better, thanks for letting me know!

termoose avatar Jun 17 '20 08:06 termoose