use var.break_long_message in !wiki
This commit is contained in:
parent
5d1006bbcc
commit
4c198029d8
@ -6516,10 +6516,10 @@ def wiki(cli, nick, chan, rest):
|
|||||||
[x.lower() for x in match.group(1).replace(" ", "-") if x in string.ascii_letters+"-"]))
|
[x.lower() for x in match.group(1).replace(" ", "-") if x in string.ascii_letters+"-"]))
|
||||||
if nick == chan:
|
if nick == chan:
|
||||||
pm(cli, nick, wikilink)
|
pm(cli, nick, wikilink)
|
||||||
pm(cli, nick, match.group(2))
|
pm(cli, nick, var.break_long_message(match.group(2).split()))
|
||||||
else:
|
else:
|
||||||
cli.msg(chan, wikilink)
|
cli.msg(chan, wikilink)
|
||||||
cli.notice(nick, match.group(2))
|
cli.notice(nick, var.break_long_message(match.group(2).split()))
|
||||||
|
|
||||||
@hook("invite")
|
@hook("invite")
|
||||||
def on_invite(cli, raw_nick, something, chan):
|
def on_invite(cli, raw_nick, something, chan):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user