diff options
| author | Samuel Johnson <[email protected]> | 2026-01-09 14:24:08 -0500 |
|---|---|---|
| committer | Samuel Johnson <[email protected]> | 2026-01-09 14:24:08 -0500 |
| commit | 1e983de7023b97a443b608c529bc1c9a424e5346 (patch) | |
| tree | 7b2d3f3a212eeafbed6d039163254f39e8bab24a /src/main.py | |
| parent | 669cb5a53d2a95905e6b556b4a2613359cde0288 (diff) | |
Fix images
Diffstat (limited to 'src/main.py')
| -rw-r--r-- | src/main.py | 10 |
1 files changed, 6 insertions, 4 deletions
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: |
