From 6ba3588294f2498a919155ea76df07fd797dcbab Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 22 May 2019 08:50:05 +0100 Subject: [PATCH] stdout.write on success for !disconnect --- modules/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/admin.py b/modules/admin.py index 28d6be90..5e262be1 100644 --- a/modules/admin.py +++ b/modules/admin.py @@ -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):