From f751d858245721ba3c21a24b1c1814250cfa0664 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 25 Jul 2018 13:06:31 +0100 Subject: add !gtin to upc.py --- modules/upc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/upc.py b/modules/upc.py index c8da6083..90b313b5 100644 --- a/modules/upc.py +++ b/modules/upc.py @@ -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="", help="Look up a product by UPC or EAN") -- cgit v1.3.1-10-gc9f91