summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.py b/src/main.py
index d3950fc..b6a7e1c 100644
--- a/src/main.py
+++ b/src/main.py
@@ -21,10 +21,11 @@ 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 = list(args)
+ if args[0].lower() == "whfb":
args.pop(0)
config["site"] = "https://whfb.lexicanum.com"
- if args[0].lower == "aos":
+ if args[0].lower() == "aos":
args.pop(0)
config["site"] = "https://ageofsigmar.lexicanum.com"