add !gtin to upc.py
This commit is contained in:
parent
a7a28adde7
commit
f751d85824
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ class Module(object):
|
|||
_name = "UPC"
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
bot.events.on("received").on("command").on("upc", "ean").hook(
|
||||
bot.events.on("received").on("command").on(
|
||||
"upc", "ean", "gtin").hook(
|
||||
self.upc, min_args=1, usage="<UPC|EAN>",
|
||||
help="Look up a product by UPC or EAN")
|
||||
|
||||
|
|
Loading…
Reference in a new issue