mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-21 04:43:41 +12:00
fixed sendatt not working
This commit is contained in:
parent
35f314f456
commit
0bed5b83d2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue