From 6ecdb8acce17c118e2b21438083d6ae17141fd23 Mon Sep 17 00:00:00 2001 From: Ben Cos <52817096+BenCos17@users.noreply.github.com> Date: Sat, 4 May 2024 11:32:36 +0100 Subject: [PATCH] update randimages to use .com instead of .ml as they changed domain (#83) --- randimages/randimages.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/randimages/randimages.py b/randimages/randimages.py index 794e325..12641ba 100644 --- a/randimages/randimages.py +++ b/randimages/randimages.py @@ -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, ) @@ -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, ) @@ -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, ) @@ -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, ) @@ -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, )