use PRIORITY_URGENT in perform.py
This commit is contained in:
parent
e06d5f37f8
commit
d385d73dab
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
|
||||
import EventManager
|
||||
|
||||
class Module(object):
|
||||
def __init__(self, bot):
|
||||
bot.events.on("received").on("numeric").on("001").hook(
|
||||
self.on_connect)
|
||||
self.on_connect, priority=EventManager.PRIORITY_URGENT)
|
||||
|
||||
def on_connect(self, event):
|
||||
commands = event["server"].get_setting("perform", [])
|
||||
|
|
Loading…
Reference in a new issue