Skip to content

Commit

Permalink
feat: fix message media with blank text
Browse files Browse the repository at this point in the history
  • Loading branch information
helllllllder committed Nov 16, 2023
1 parent 2b71aad commit b7dc773
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _create_message(self, text):
)

def execute(self):
text = self.msg_content.pop("text")
text = self.msg_content.pop("text", "")
msg = self._create_message(text)
media = msg.medias.create(**self.msg_content)
if self.notify:
Expand Down

0 comments on commit b7dc773

Please sign in to comment.