Fixed inbox view

This commit is contained in:
Choco
2023-06-24 17:48:36 +08:00
parent 96e8150269
commit e1c8f4f6c7
3 changed files with 11 additions and 10 deletions

View File

@@ -314,7 +314,7 @@ class Playlists(commands.Cog, name="playlist"):
return await ctx.send(get_lang(ctx.guild.id, 'inboxNoMsg'), ephemeral=True)
inbox = user['inbox'].copy()
view = InboxView(ctx.author.name, user['inbox'])
view = InboxView(ctx.author, user['inbox'])
message = await ctx.send(embed=view.build_embed(), view=view, ephemeral=True)
view.response = message
await view.wait()