fixed sendatt not working

This commit is contained in:
brandons209 2020-05-07 22:49:29 -04:00
parent 35f314f456
commit 0bed5b83d2

View file

@ -856,7 +856,7 @@ class MoreAdmin(commands.Cog):
if attach:
for a in attach:
filepaths.append(cog_data_path(cog_instance=self) / f"{ctx.author.id}_{a.filename}")
a.save(filepaths[-1])
await a.save(filepaths[-1])
else:
await ctx.send("You must provide a Discord attachment.")
return