mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 19:19:31 +01:00
relay: show channel descriptions before "created by" info
This commit is contained in:
parent
8c42825612
commit
77fd9475b6
@ -2514,6 +2514,10 @@ def linked(irc, source, args):
|
|||||||
|
|
||||||
irc.reply(s, private=True)
|
irc.reply(s, private=True)
|
||||||
|
|
||||||
|
desc = v.get('description')
|
||||||
|
if desc: # Show channel description, if there is one.
|
||||||
|
irc.reply(' \x02Description:\x02 %s' % desc, private=True)
|
||||||
|
|
||||||
if irc.is_oper(source):
|
if irc.is_oper(source):
|
||||||
s = ''
|
s = ''
|
||||||
|
|
||||||
@ -2533,10 +2537,6 @@ def linked(irc, source, args):
|
|||||||
if s: # Indent to make the list look nicer
|
if s: # Indent to make the list look nicer
|
||||||
irc.reply(' Channel created%s.' % s, private=True)
|
irc.reply(' Channel created%s.' % s, private=True)
|
||||||
|
|
||||||
desc = v.get('description')
|
|
||||||
if desc: # Show channel description, if there is one.
|
|
||||||
irc.reply(' \x02Description:\x02 %s' % desc, private=True)
|
|
||||||
|
|
||||||
linked = utils.add_cmd(linked, featured=True)
|
linked = utils.add_cmd(linked, featured=True)
|
||||||
|
|
||||||
@utils.add_cmd
|
@utils.add_cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user