From a851b5193e44d45e762dfb0756521c422e150c0d Mon Sep 17 00:00:00 2001 From: Dan Elkouby Date: Sun, 13 May 2018 21:07:12 +0000 Subject: [PATCH] aesthetics: support editing messages --- stdplugins/aesthetics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stdplugins/aesthetics.py b/stdplugins/aesthetics.py index bf18a26..462fc32 100644 --- a/stdplugins/aesthetics.py +++ b/stdplugins/aesthetics.py @@ -18,6 +18,7 @@ def aesthetify(string): @borg.on(events.NewMessage(pattern=r'.ae\s+(.+)', outgoing=True)) +@borg.on(events.MessageEdited(pattern=r'.ae\s+(.+)', outgoing=True)) async def _(event): text = event.pattern_match.group(1) text = "".join(aesthetify(text))