tag: warn users when they try to use the old methods
This commit is contained in:
parent
726bf0dd4b
commit
19922cdfee
|
@ -146,6 +146,10 @@ def tag(inp, chan='', db=None):
|
|||
|
||||
if add:
|
||||
nick, subject = add.groups()
|
||||
if nick.lower() == 'list':
|
||||
return 'tag syntax has changed. try .tags or .tagged instead'
|
||||
elif nick.lower() == 'del':
|
||||
return 'tag syntax has changed. try ".untag %s" instead' % subject
|
||||
return add_tag(db, chan, nick, subject)
|
||||
else:
|
||||
tags = get_tags_by_nick(db, chan, inp)
|
||||
|
|
Loading…
Reference in New Issue