diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/pong.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/pong.py b/modules/pong.py index d67da431..fc12d0c2 100644 --- a/modules/pong.py +++ b/modules/pong.py @@ -1,9 +1,6 @@ -import Utils - -class Module(object): - def __init__(self, bot, events, exports): - pass +import ModuleManager, Utils +class Module(ModuleManager.BaseModule): @Utils.hook("received.command.ping", help="Ping pong!") def pong(self, event): event["stdout"].write("Pong!") |
