diff options
| -rw-r--r-- | src/main.py | 7 |
1 files changed, 7 insertions, 0 deletions
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: |
