sopel: on error, reply() instead of say()
parent
a19bee5c3d
commit
3019c9091a
|
@ -20,7 +20,7 @@ def _templatecmd(bot, trigger, templates):
|
|||
raise AttributeError()
|
||||
template = getattr(templates, trigger.group(3))
|
||||
except AttributeError:
|
||||
bot.say('Nie zesraj się.')
|
||||
bot.reply('Nie zesraj się.')
|
||||
return
|
||||
|
||||
bot.notice(tlib.render(template))
|
||||
|
|
Loading…
Reference in New Issue