From 513acd702142808a1b3257f1cabbc775f4dfaaf7 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Fri, 9 Jan 2026 13:44:17 -0500 Subject: Allow use of whfb lexicanum --- src/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.py b/src/main.py index a43577a..d3950fc 100644 --- a/src/main.py +++ b/src/main.py @@ -21,6 +21,13 @@ async def ping(ctx): @bot.command(name="Explain", aliases=["explain", "What's", "what's"]) async def explain(ctx, *args): + if args[0].lower == "whfb": + args.pop(0) + config["site"] = "https://whfb.lexicanum.com" + if args[0].lower == "aos": + args.pop(0) + config["site"] = "https://ageofsigmar.lexicanum.com" + query = " ".join([x.replace('"', "") for x in args]) try: -- cgit v1.2.3