added easter egg
This commit is contained in:
parent
f8e480bfee
commit
a9a8b6a750
1 changed files with 7 additions and 0 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue