projects
/
GrooveNetBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ec65b
)
Say something when there's no digest
author
Cameron Ball
<cameron@moodle.com>
Wed, 8 May 2019 03:56:09 +0000
(11:56 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Wed, 8 May 2019 03:56:09 +0000
(11:56 +0800)
src/gnb.php
patch
|
blob
|
history
diff --git
a/src/gnb.php
b/src/gnb.php
index
eea2346
..
18c2590
100644
(file)
--- a/
src/gnb.php
+++ b/
src/gnb.php
@@
-96,6
+96,10
@@
getTelegram()->addCommand(
]
);
}
+
+ if (!$pranks && !$newFaves) {
+ $this->replyWithMessage(['text' => 'Nothing to report. I guess nothing cool happened yesterday.']);
+ }
}
}
);