diff options
| author | 2018-07-25 13:06:31 +0100 | |
|---|---|---|
| committer | 2018-07-25 13:06:31 +0100 | |
| commit | f751d858245721ba3c21a24b1c1814250cfa0664 (patch) | |
| tree | b640c62f6b314e323e3e4b5b0b1633bc3b98f8c1 /modules | |
| parent | Add upc.py (diff) | |
add !gtin to upc.py
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/upc.py | 3 |
1 files changed, 2 insertions, 1 deletions
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="<UPC|EAN>", help="Look up a product by UPC or EAN") |
