From 8d6f0fffa9822f9cfc6e354882a555d4df753a73 Mon Sep 17 00:00:00 2001 From: dngfx Date: Fri, 31 Aug 2018 04:14:56 +0100 Subject: Make channel values being inserted into SQLite integers if they're numbers. Update ducks.py, you can now .bef and .bang! Coming soon: .friends, .killers, and .ducks Update google to use gb instead of us. We're British goddamnit. --- modules/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/google.py') diff --git a/modules/google.py b/modules/google.py index b961186e..b8d5c653 100644 --- a/modules/google.py +++ b/modules/google.py @@ -19,7 +19,7 @@ class Module(object): "q": phrase, "key": self.bot.config[ "google-api-key"], "cx": self.bot.config[ "google-search-id"], "prettyPrint": "true", - "num": 1, "gl": "us"}, json=True) + "num": 1, "gl": "gb"}, json=True) if page: if "items" in page and len(page["items"]): event["stdout"].write(page["items"][0][ -- cgit v1.3.1-10-gc9f91