Skip to content

Commit

Permalink
Fixed #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Luois45 committed Dec 31, 2021
1 parent 48b1d6e commit d4256d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord-shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,8 @@ async def cart_message(database_user, reaction, user):
guild_ids = []
for guild in client.guilds:
guild_ids.append(guild.id)
id = guild_ids.index(guild_msg_id)
guild_msg = client.guilds[id]
temp_id = guild_ids.index(guild_msg_id)
guild_msg = client.guilds[temp_id]

embed = discord.Embed(title=f"Your cart at {guild_msg}",
description="",
Expand Down

0 comments on commit d4256d7

Please sign in to comment.