added easter egg

This commit is contained in:
qugalet 2023-07-13 15:22:12 +03:00
parent f8e480bfee
commit a9a8b6a750

View file

@ -79,6 +79,13 @@ async function main() {
});
console.log('follow message');
}
if (notification.type === 'mention' && notification.status?.visibility === 'direct') {
await mastodon.v1.statuses.create({
inReplyToId: notification.status.id,
visibility: 'direct',
status: 'meow'
});
}
});
matrix.on('room.message', async (roomId, event) => {
if (