Add a reminder to drink water
authorCameron Ball <cameron@cameron1729.xyz>
Tue, 27 Nov 2018 05:54:03 +0000 (13:54 +0800)
committerCameron Ball <cameron@cameron1729.xyz>
Tue, 27 Nov 2018 05:54:03 +0000 (13:54 +0800)
strings.php
water.php [new file with mode: 0644]

index f9908dc..3c63795 100644 (file)
@@ -3,5 +3,6 @@
 return [
     'takeoutthebins' => 'Take out that BINZ #TrashSLAM ðŸš®',
     'newbill' => '%s bill: $%s each due on the %s',
-    'billreminder' => '[REMINDER %d DAYS] %s bill: $%s each due on the %s'
+    'billreminder' => '[REMINDER %d DAYS] %s bill: $%s each due on the %s',
+    'drinksomewater' => '🚰 Consider drinking some water! ðŸ’¦ #HydrationNation'
 ];
\ No newline at end of file
diff --git a/water.php b/water.php
new file mode 100644 (file)
index 0000000..00ed6e5
--- /dev/null
+++ b/water.php
@@ -0,0 +1,5 @@
+<?php declare(strict_types=1);
+
+require_once('common.php');
+
+getTelegram()->sendMessage(['chat_id' => array_flip(PARTICIPANT_IDS)['Cam'], 'text'=> getString('drinksomewater')]);
\ No newline at end of file