Skip to content

Commit

Permalink
Merge pull request #3 from davidetacchini/next
Browse files Browse the repository at this point in the history
Next
  • Loading branch information
davidetacchini authored Sep 21, 2023
2 parents 43a5e30 + eff941d commit a72ef28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

log = logging.getLogger("overbot")

__version__ = "6.0.2"
__version__ = "6.0.3"


class OverBot(commands.AutoShardedBot):
Expand Down
2 changes: 1 addition & 1 deletion cogs/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async def ratings(self, interaction: discord.Interaction, member: None | Member
await interaction.followup.send(embed=embed)
return

data = await profile.embed_ratings()
data = profile.embed_ratings()
value = "console" if not data["pc"] else "pc"
view = PlatformSelectMenu(data[value], interaction=interaction)
view.add_platforms(data)
Expand Down
4 changes: 2 additions & 2 deletions cogs/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def show_stats_for(
await interaction.followup.send(embed=embed)
return

data = await profile.embed_stats(hero)
data = profile.embed_stats(hero)
value = "console" if not data["pc"] else "pc"
view = PlatformSelectMenu(data[value], interaction=interaction)
view.add_platforms(data)
Expand All @@ -54,7 +54,7 @@ async def ratings(self, interaction: discord.Interaction, *, battletag: str) ->
await interaction.followup.send(embed=embed)
return

data = await profile.embed_ratings()
data = profile.embed_ratings()
value = "console" if not data["pc"] else "pc"
view = PlatformSelectMenu(data[value], interaction=interaction)
view.add_platforms(data)
Expand Down

0 comments on commit a72ef28

Please sign in to comment.