Removing legacy xmpp_domain output
Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
parent
c122dfcf92
commit
7cad4e42ee
@ -190,7 +190,7 @@ class Mailcow(callbacks.Plugin):
|
|||||||
)
|
)
|
||||||
data = response.json()
|
data = response.json()
|
||||||
#return(print(data))
|
#return(print(data))
|
||||||
irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active']) + ' | XMPP Active: ' + str(data['domain_xmpp']))
|
irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active']))
|
||||||
except requests.exceptions.ConnectionError as err:
|
except requests.exceptions.ConnectionError as err:
|
||||||
irc.error("Connection failed.")
|
irc.error("Connection failed.")
|
||||||
except requests.exceptions.HTTPError as err:
|
except requests.exceptions.HTTPError as err:
|
||||||
|
Loading…
Reference in New Issue
Block a user