Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion smack_my_bitch_up.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@
'Someone fucked the system again'
]

sample = reasons.sample

# Send a text message
@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_FILE.puts("Message sent at: #{Time.now}")
LOG_FILE.puts("Reason: #{sample}")
LOG_FILE.close