Skip to content

Commit

Permalink
update randimages to use .com instead of .ml as they changed domain (#83
Browse files Browse the repository at this point in the history
)
  • Loading branch information
BenCos17 authored May 4, 2024
1 parent ca53bc5 commit 6ecdb8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions randimages/randimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def catfact(self, ctx: commands.Context):
source="nekos.life",
img_url="https://nekos.life/api/v2/img/meow",
img_arg="url",
facts_url="https://some-random-api.ml/facts/cat",
facts_url="https://some-random-api.com/facts/cat",
facts_arg="fact",
facts=True,
)
Expand Down Expand Up @@ -127,7 +127,7 @@ async def dogfact(self, ctx: commands.Context):
source="random.dog",
img_url="https://random.dog/woof.json",
img_arg="url",
facts_url="https://some-random-api.ml/facts/dog",
facts_url="https://some-random-api.com/facts/dog",
facts_arg="fact",
facts=True,
)
Expand Down Expand Up @@ -179,7 +179,7 @@ async def panda(self, ctx: commands.Context):
name=_("panda"),
emoji="\N{PANDA FACE}",
source="some-random-api.ml",
img_url="https://some-random-api.ml/img/panda",
img_url="https://some-random-api.com/img/panda",
img_arg="link",
facts=False,
)
Expand Down Expand Up @@ -221,9 +221,9 @@ async def pandafact(self, ctx: commands.Context):
name=_("a panda fact with a random panda image"),
emoji="\N{PANDA FACE}",
source="some-random-api.ml",
img_url="https://some-random-api.ml/img/panda",
img_url="https://some-random-api.com/img/panda",
img_arg="link",
facts_url="https://some-random-api.ml/facts/panda",
facts_url="https://some-random-api.com/facts/panda",
facts_arg="fact",
facts=True,
)
Expand All @@ -239,7 +239,7 @@ async def pika(self, ctx: commands.Context):
name=_("Pikachu"),
emoji="❤️",
source="some-random-api.ml",
img_url="https://some-random-api.ml/img/pikachu",
img_url="https://some-random-api.com/img/pikachu",
img_arg="link",
facts=False,
)
Expand Down

0 comments on commit 6ecdb8a

Please sign in to comment.