update screen.lua
This commit is contained in:
parent
3000ce5a4e
commit
eb02fcf372
@ -18,7 +18,7 @@ function run(msg, matches)
|
|||||||
if string.starts(msg.text, '/screen') then
|
if string.starts(msg.text, '/screen') then
|
||||||
text = run_bash("scrot 'scrot.png' -e 'mv $f ~/Mikubot/tmp/'")
|
text = run_bash("scrot 'scrot.png' -e 'mv $f ~/Mikubot/tmp/'")
|
||||||
send_photo(get_receiver(msg), "tmp/scrot.png", ok_cb, false)
|
send_photo(get_receiver(msg), "tmp/scrot.png", ok_cb, false)
|
||||||
return 'Screenshot erstellt!'
|
return 'Screenshot wird gesendet!'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user