blob: a5c9b7b183bd74ecbeeab85b499db2af9f5b967e (
plain) (
blame)
1
2
3
4
5
6
7
8
|
module.exports = (Ferdi) => {
function getMessages() {
const count = feedbin.count_data.unread_entries.length || 0;
Ferdi.setBadge(count);
}
Ferdi.loop(getMessages);
};
|