mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue