From 522fa78d9d0542a7ab3f28cd6b55465c0acf67b6 Mon Sep 17 00:00:00 2001 From: Leon Date: Sun, 3 Dec 2017 10:21:48 -0500 Subject: [PATCH] Deprecated .bing due to APi that is no longer available. --- plugins/bing.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/bing.py b/plugins/bing.py index 307ec3766..ee3cda0b7 100644 --- a/plugins/bing.py +++ b/plugins/bing.py @@ -32,6 +32,9 @@ def bingify(s): @hook.command("bing", "b") def bing(text, bot): """ - returns the first bing search result for """ + + return "This API has been deprecated and removed." + api_key = bot.config.get("api_keys", {}).get("bing_azure") # handle NSFW @@ -74,6 +77,9 @@ def bing(text, bot): @hook.command("bingimage", "bis") def bingimage(text, bot): """ - returns the first bing image search result for """ + + return "This API has been deprecated and removed." + api_key = bot.config.get("api_keys", {}).get("bing_azure") # handle NSFW