Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexraskin committed Jan 19, 2024
1 parent 5fed913 commit 9f3ae48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot/cogs/overwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ async def get_overwatch_profile(
region: Literal["us", "eu", "kr"],
battletag: str,
) -> Embed:
"""
Get Overwatch profile details
"""
url = f'{self.base_url}/profile/{platform}/{region}/{str(battletag).replace("#", "-")}'
interaction.response.defer()
async with self.client.session.get(url) as response:
Expand Down Expand Up @@ -90,6 +93,9 @@ async def get_overwatch_profile(
@commands.guild_only()
@app_commands.guild_only()
async def random_rein_quote(self, ctx: commands.Context) -> Embed:
"""
Random Rein Quote
"""
embed = Embed(
color=random.randint(0, 0xFFFFFF),
)
Expand Down

0 comments on commit 9f3ae48

Please sign in to comment.