I'm writing an IRC bot using twisted python, and some actions should only be available to channel operators. How do I determine the 'user level' of a user in a channel using twisteds IRCClient?
Asked
Active
Viewed 1,599 times
2 Answers
4
One way to discover if a user has voice or op is to look at their name in a names listing. See How to use Twisted to get an IRC channel's user list for details on how to do that. Other solutions, using WHO or WHOIS, will take a similar form.

Community
- 1
- 1

Jean-Paul Calderone
- 47,755
- 6
- 94
- 122