We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506239a commit 80e58beCopy full SHA for 80e58be
irc3/dec.py
@@ -15,7 +15,7 @@ def plugin(wrapped):
15
class event:
16
r"""register a method or function an irc event callback::
17
18
- >>> @event('^:\S+ 353 [^&#]+(?P<channel>\S+) :(?P<nicknames>.*)')
+ >>> @event(r'^:\S+ 353 [^&#]+(?P<channel>\S+) :(?P<nicknames>.*)')
19
... def on_names(bot, channel=None, nicknames=None):
20
... '''this will catch nickname when you enter a channel'''
21
... print(channel, nicknames.split(':'))
0 commit comments