mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
🐛 Fix #4
This commit is contained in:
parent
40ab542a92
commit
5092d522fe
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class DiscordMessage(co.Message):
|
||||||
if files is None:
|
if files is None:
|
||||||
files = []
|
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)
|
return DiscordMessage(msg=msg)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue