Skip to content

Commit

Permalink
[Animals] fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Sep 27, 2024
1 parent be9d0f6 commit 507f55a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions animals/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def _cat(self, ctx: commands.Context, *, breed: Optional[str] = None):
image, name, details = await CatAPI(ctx, self.session).image(breed) # type: ignore
except TypeError:
await ctx.send(
f"The bot owner has not setup the random cats api key yet!",
"The bot owner has not setup the random cats api key yet!",
reference=ctx.message.to_reference(fail_if_not_exists=False),
)
return
Expand All @@ -120,7 +120,7 @@ async def _cat(self, ctx: commands.Context, *, breed: Optional[str] = None):
embeds=[
discord.Embed(
description=(
"Invalid breed, use the `{ctx.clean_prefix}cat breeds` "
f"Invalid breed, use the `{ctx.clean_prefix}cat breeds` "
"command for the valid breeds."
),
color=await ctx.embed_color(),
Expand Down Expand Up @@ -151,7 +151,7 @@ async def _cat_breeds(self, ctx: commands.Context):
pages, breed_count = await CatAPI(ctx, self.session).breeds() # type: ignore
except TypeError:
await ctx.send(
f"The bot owner has not setup the random cats api key yet!",
"The bot owner has not setup the random cats api key yet!",
reference=ctx.message.to_reference(fail_if_not_exists=False),
)
return
Expand Down Expand Up @@ -200,7 +200,7 @@ async def _dog(self, ctx: commands.Context, *, breed: Optional[str] = None):
image, name, details = await DogAPI(ctx, self.session).image(breed) # type: ignore
except TypeError:
await ctx.send(
f"The bot owner has not setup the random dogs api key yet!",
"The bot owner has not setup the random dogs api key yet!",
reference=ctx.message.to_reference(fail_if_not_exists=False),
)
return
Expand Down Expand Up @@ -240,7 +240,7 @@ async def _dog_breeds(self, ctx: commands.Context):
pages, breed_count = await DogAPI(ctx, self.session).breeds() # type: ignore
except TypeError:
await ctx.send(
f"The bot owner has not setup the random dogs api key yet!",
"The bot owner has not setup the random dogs api key yet!",
reference=ctx.message.to_reference(fail_if_not_exists=False),
)
return
Expand Down

0 comments on commit 507f55a

Please sign in to comment.