Fix Tupperbox importing broken by a d.py update\n\nAs for why this is necessary, see https://github.com/Rapptz/discord.py/issues/1973
This commit is contained in:
parent
7806ccf8d8
commit
ac911b170d
@ -30,7 +30,7 @@ async def import_tupperbox(ctx: CommandContext):
|
||||
raise CommandError("Timed out. Try running `pk;import` again.")
|
||||
|
||||
s = io.BytesIO()
|
||||
await message.attachments[0].save(s)
|
||||
await message.attachments[0].save(s, use_cached=False)
|
||||
data = json.load(s)
|
||||
|
||||
system = await ctx.get_system()
|
||||
|
Loading…
Reference in New Issue
Block a user