stdout.write on success for !disconnect
This commit is contained in:
parent
3e1a478f77
commit
6ba3588294
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ class Module(ModuleManager.BaseModule):
|
|||
server = self.bot.get_server_by_id(id)
|
||||
server.disconnect()
|
||||
self.bot.disconnect(server)
|
||||
event["stdout"].write("Disconnected from %s" % alias)
|
||||
|
||||
@utils.hook("received.command.shutdown")
|
||||
def shutdown(self, event):
|
||||
|
|
Loading…
Reference in a new issue