Update 'pbbot.py'
This commit is contained in:
parent
4a3d98849f
commit
1888f25994
2
pbbot.py
2
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()
|
||||
|
|
Loading…
Reference in New Issue