From 1888f259948a029249d0d08667aab717ed5f2fe7 Mon Sep 17 00:00:00 2001 From: "[Alien]" Date: Sat, 8 Feb 2020 18:33:27 +0200 Subject: [PATCH] Update 'pbbot.py' --- pbbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbbot.py b/pbbot.py index 2c6b9eb..be0f8e1 100755 --- a/pbbot.py +++ b/pbbot.py @@ -37,7 +37,7 @@ class PBBot(sleekxmpp.ClientXMPP): 'send', '--text', arg]).decode('utf-8') msg.reply(output).send() elif "!bpaste" in msg['body']: - arg = msg['body'].replace('!paste', '').strip() + arg = msg['body'].replace('!bpaste', '').strip() output = subprocess.check_output(['env', 'pbincli', \ 'send', '-B', '--text', arg]).decode('utf-8') msg.reply(output).send()