update
This commit is contained in:
@@ -12,12 +12,12 @@ class Admin(Plugin):
|
||||
super(Admin, self).deactivate()
|
||||
|
||||
@Plugin.command(admin=True)
|
||||
def admin_reload_plugins(self, msg, args):
|
||||
def admin_reload_plugins(self, room, event, args):
|
||||
"""Reload plugins"""
|
||||
self.plugin_manager.reload_plugins()
|
||||
return "Plugins reloaded"
|
||||
|
||||
@Plugin.command(admin=True)
|
||||
def admin_test(self, msg, args):
|
||||
def admin_test(self, room, event, args):
|
||||
"""Simple test"""
|
||||
return "You are admin"
|
||||
|
||||
Reference in New Issue
Block a user