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()