From df6c3632507f869f98df2acb079ee498aa284ec4 Mon Sep 17 00:00:00 2001 From: Kodie Goodwin Date: Fri, 23 Mar 2018 17:06:45 -0700 Subject: [PATCH] Allow removing content during message edit (#88) --- disco/api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/api/client.py b/disco/api/client.py index 0aae49e..9fef7ef 100644 --- a/disco/api/client.py +++ b/disco/api/client.py @@ -191,7 +191,7 @@ class APIClient(LoggingClass): def channels_messages_modify(self, channel, message, content=None, embed=None, sanitize=False): payload = {} - if content: + if content is not None: if sanitize: content = S(content) payload['content'] = content