From 1e983de7023b97a443b608c529bc1c9a424e5346 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Fri, 9 Jan 2026 14:24:08 -0500 Subject: Fix images --- src/main.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py index af53021..c773f4f 100644 --- a/src/main.py +++ b/src/main.py @@ -25,13 +25,15 @@ async def explain(ctx, *args): if args[0].lower() == "whfb": args.pop(0) config["site"] = "https://whfb.lexicanum.com" - if args[0].lower() == "wh40k": + elif args[0].lower() == "wh40k": args.pop(0) - config["site"] = "https://wh40k.lexicanum/com" - if args[0].lower() == "aos": + config["site"] = "https://wh40k.lexicanum.com" + elif args[0].lower() == "aos": args.pop(0) config["site"] = "https://ageofsigmar.lexicanum.com" - + else: + config["site"] = "https://ageofsigmar.lexicanum.com" + query = " ".join([x.replace('"', "") for x in args]) try: -- cgit v1.2.3