diff --git a/disco/api/client.py b/disco/api/client.py index 9f826f5..e1adee7 100644 --- a/disco/api/client.py +++ b/disco/api/client.py @@ -109,10 +109,11 @@ class APIClient(LoggingClass): return Message.create(self.client, r.json()) - def channels_messages_modify(self, channel, message, content, embed=None): - payload = { - 'content': content, - } + def channels_messages_modify(self, channel, message, content=None, embed=None): + payload = {} + + if content: + payload['content'] = content if embed: payload['embed'] = embed.to_dict()