Fix event typo in greeting.py ("recevied" -> "received")
This commit is contained in:
parent
6b01c8bb04
commit
6274159ac6
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class Module(object):
|
||||||
exports.add("channelset", {"setting": "greeting",
|
exports.add("channelset", {"setting": "greeting",
|
||||||
"help": "Set a greeting to send to users when they join"})
|
"help": "Set a greeting to send to users when they join"})
|
||||||
|
|
||||||
@Utils.hook("recevied.join")
|
@Utils.hook("received.join")
|
||||||
def join(self, event):
|
def join(self, event):
|
||||||
greeting = event["channel"].get_setting("greeting", None)
|
greeting = event["channel"].get_setting("greeting", None)
|
||||||
if greeting:
|
if greeting:
|
||||||
|
|
Loading…
Reference in a new issue