summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py10
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: