1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2022-02-22 04:52:33 +01:00
parent 40ab542a92
commit 5092d522fe
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -45,7 +45,7 @@ class DiscordMessage(co.Message):
if files is None:
files = []
msg = await self._msg.reply(content=ds_markdown_format(text), files=[discord.File(file) for file in files])
msg = await self._msg.reply(content=ds_markdown_format(text) if text else None, files=[discord.File(file) for file in files])
return DiscordMessage(msg=msg)