diff options
Diffstat (limited to 'modules/upc.py')
| -rw-r--r-- | modules/upc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/upc.py b/modules/upc.py index 404fe400..53266896 100644 --- a/modules/upc.py +++ b/modules/upc.py @@ -6,8 +6,7 @@ class Module(object): _name = "UPC" def __init__(self, bot, events, exports): self.bot = bot - events.on("received").on("command").on( - "upc", "ean", "gtin").hook( + events.on("received.command").on("upc", "ean", "gtin").hook( self.upc, min_args=1, usage="<UPC|EAN>", help="Look up a product by UPC or EAN") |
