preparing for m2d

This commit is contained in:
Cadence Ember
2023-07-03 01:06:05 +12:00
parent d592a3c82e
commit 6e55e6d1b3
6 changed files with 80 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
// @ts-check
const assert = require("assert").strict
const {sync, as} = require("../passthrough")
@@ -5,4 +7,6 @@ const {sync, as} = require("../passthrough")
sync.addTemporaryListener(as, "type:m.room.message", event => {
console.log(event)
// TODO: filter out events that were bridged discord messages (i.e. sent by OOYE)
// TODO: call sendMessage
})