Skip to content

Commit fb0bfa7

Browse files
committed
Remove google alias from bing.
1 parent e74c333 commit fb0bfa7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/bing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def bingify(s):
2929
return "'{}'".format(s)
3030

3131

32-
@hook.command("bing", "google", "g", "search")
32+
@hook.command("bing", "b")
3333
def bing(text, bot):
3434
"""<query> - returns the first bing search result for <query>"""
3535
api_key = bot.config.get("api_keys", {}).get("bing_azure")
@@ -71,7 +71,7 @@ def bing(text, bot):
7171
return colors.parse('{} -- $(b){}$(b): "{}"'.format(url, title, desc))
7272

7373

74-
@hook.command("bingimage", "googleimage", "gis", "image")
74+
@hook.command("bingimage", "bis")
7575
def bingimage(text, bot):
7676
"""<query> - returns the first bing image search result for <query>"""
7777
api_key = bot.config.get("api_keys", {}).get("bing_azure")

0 commit comments

Comments
 (0)