diff options
author | 2021-02-09 12:22:26 +0100 | |
---|---|---|
committer | 2021-02-09 12:22:26 +0100 | |
commit | 87c4066eb016dace5d48d87fba83ce6424408878 (patch) | |
tree | 612b70fbf04fbf296670b22abc58cc52c99a3baa | |
parent | Add location mocks to the wolfram cog (diff) |
Apply mock locations to every subcommands
-rw-r--r-- | bot/exts/evergreen/wolfram.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/exts/evergreen/wolfram.py b/bot/exts/evergreen/wolfram.py index d3b4df5c..437d9e1a 100644 --- a/bot/exts/evergreen/wolfram.py +++ b/bot/exts/evergreen/wolfram.py @@ -171,6 +171,9 @@ class Wolfram(Cog): url_str = parse.urlencode({ "i": query, "appid": APPID, + "location": "the moon", + "latlong": "0.0,0.0", + "ip": "1.1.1.1" }) query = QUERY.format(request="simple", data=url_str) @@ -251,6 +254,9 @@ class Wolfram(Cog): url_str = parse.urlencode({ "i": query, "appid": APPID, + "location": "the moon", + "latlong": "0.0,0.0", + "ip": "1.1.1.1" }) query = QUERY.format(request="result", data=url_str) |