Call function to_file
This commit is contained in:
parent
85082cbf16
commit
daacbe247d
1 changed files with 1 additions and 1 deletions
|
@ -97,5 +97,5 @@ class ModlogMessageCog(commands.Cog):
|
||||||
await channel.send(embed=embed)
|
await channel.send(embed=embed)
|
||||||
else:
|
else:
|
||||||
await channel.send(
|
await channel.send(
|
||||||
embed=embed, file=(await message.attachments[0].to_file)
|
embed=embed, file=(await message.attachments[0].to_file())
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue