mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-23 02:47:14 +00:00
Log the reason in smack_my_bitch_up.rb
This commit is contained in:
parent
c6373cc762
commit
5f4311afbb
@ -33,11 +33,14 @@ reasons = [
|
|||||||
'Someone fucked the system again'
|
'Someone fucked the system again'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
sample = reasons.sample
|
||||||
|
|
||||||
# Send a text message
|
# Send a text message
|
||||||
@twilio.messages.create(
|
@twilio.messages.create(
|
||||||
from: my_number, to: her_number, body: 'Late at work. ' + reasons.sample
|
from: my_number, to: her_number, body: 'Late at work. ' + sample
|
||||||
)
|
)
|
||||||
|
|
||||||
# Log this
|
# Log this
|
||||||
LOG_FILE.puts("Message sent at: #{Time.now}")
|
LOG_FILE.puts("Message sent at: #{Time.now}")
|
||||||
|
LOG_FILE.puts("Reason: #{sample}")
|
||||||
LOG_FILE.close
|
LOG_FILE.close
|
||||||
|
Loading…
x
Reference in New Issue
Block a user