Skip to content

Commit c4e0bef

Browse files
committed
Send a message when the number of links is low
1 parent 7270816 commit c4e0bef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handlers/feed_me.go

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ func FeedMe(params bot.HandlerParams) error {
2020
}
2121

2222
if len(notes) < 5 {
23+
params.Privmsgf(params.Target, "not enough links to feed the channel")
2324
return nil
2425
}
2526

0 commit comments

Comments
 (0)