Skip to content

Commit f560977

Browse files
committed
Merge pull request NARKOZ#36 from JrSchild/master
Log the reason in smack_my_bitch_up.rb
2 parents c6373cc + 5f4311a commit f560977

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

smack_my_bitch_up.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,14 @@
3333
'Someone fucked the system again'
3434
]
3535

36+
sample = reasons.sample
37+
3638
# Send a text message
3739
@twilio.messages.create(
38-
from: my_number, to: her_number, body: 'Late at work. ' + reasons.sample
40+
from: my_number, to: her_number, body: 'Late at work. ' + sample
3941
)
4042

4143
# Log this
4244
LOG_FILE.puts("Message sent at: #{Time.now}")
45+
LOG_FILE.puts("Reason: #{sample}")
4346
LOG_FILE.close

0 commit comments

Comments
 (0)