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 = self.bot.get_server_by_id(id)
|
||||||
server.disconnect()
|
server.disconnect()
|
||||||
self.bot.disconnect(server)
|
self.bot.disconnect(server)
|
||||||
|
event["stdout"].write("Disconnected from %s" % alias)
|
||||||
|
|
||||||
@utils.hook("received.command.shutdown")
|
@utils.hook("received.command.shutdown")
|
||||||
def shutdown(self, event):
|
def shutdown(self, event):
|
||||||
|
|
Loading…
Reference in a new issue