diff options
Diffstat (limited to 'bin/xmpp')
-rwxr-xr-x | bin/xmpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -26,9 +26,9 @@ Send a one-off XMPP message. Examples: - Send a message to eu@euandreh.xyz: + Send a message to eu@euandre.org: - $ xmpp -m 'Hello, XMPP!' eu@euandreh.xyz""" + $ xmpp -m 'Hello, XMPP!' eu@euandre.org""" class SendMsgBot(slixmpp.ClientXMPP): def __init__(self, jid, password, on_start): @@ -43,7 +43,7 @@ class SendMsgBot(slixmpp.ClientXMPP): def main(): logging.basicConfig(level=logging.INFO) - from_ = "bot@euandreh.xyz" + from_ = "bot@euandre.org" message = "" for s in sys.argv: @@ -84,7 +84,7 @@ def main(): print(USAGE, file=sys.stderr) sys.exit(2) - passcmd = "pass show VPS/kuvira/XMPP/" + from_ + " | head -n1 | tr -d '\\n'" + passcmd = "pass show from_ | head -n1 | tr -d '\\n'" password = os.popen(passcmd).read() def on_start(self): |