mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
show-moinlist: output single line style; use /i
This commit is contained in:
15
plugins.py
15
plugins.py
@@ -722,14 +722,15 @@ def command_show_moinlist(argv, **args):
|
|||||||
argv1 = None if len(argv) < 2 else argv[1]
|
argv1 = None if len(argv) < 2 else argv[1]
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'msg': [
|
'msg':
|
||||||
args['reply_user'] + ': moin reply list%s: ' % (
|
'%s: moin reply list%s: %s' % (
|
||||||
'' if not argv1 else ' (limited to %s)' % argv1
|
args['reply_user'],
|
||||||
)
|
'' if not argv1 else ' (limited to %s)' % argv1,
|
||||||
] + [
|
', '.join([
|
||||||
b for b in moin_strings_hi + moin_strings_bye
|
b for b in moin_strings_hi + moin_strings_bye
|
||||||
if not argv1 or argv1 in b
|
if not argv1 or argv1.lower() in b.lower()
|
||||||
]
|
])
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
#@pluginfunction('dummy', 'dummy description', ptypes_COMMAND)
|
#@pluginfunction('dummy', 'dummy description', ptypes_COMMAND)
|
||||||
|
|||||||
Reference in New Issue
Block a user