From 7cfb6eed5b74a68a3f175b13f98b2048179dbdfc Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Sun, 5 Feb 2017 21:29:13 -0800 Subject: message edit/delete --- wee_slack.py | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) diff --git a/wee_slack.py b/wee_slack.py index 048a34b..672d960 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -502,17 +502,17 @@ def buffer_input_callback(signal, buffer_ptr, data): channel.send_add_reaction(int(reaction.group(1) or 1), reaction.group(3)) elif reaction.group(2) == "-": channel.send_remove_reaction(int(reaction.group(1) or 1), reaction.group(3)) -# elif data.startswith('s/'): -# try: -# old, new, flags = re.split(r'(?