sending events in matrix

This commit is contained in:
Cadence Ember 2023-05-01 00:57:30 +12:00
parent 6990957c9e
commit 8a0c2b5663
13 changed files with 2764 additions and 10 deletions

View file

@ -1,5 +1,9 @@
// @ts-check
// Grab Discord events we care about for the bridge, check them, and pass them on
const sendMessage = require("./actions/send-message")
module.exports = {
/**
* @param {import("./discord-client")} client
@ -9,7 +13,7 @@ module.exports = {
console.log(message)
console.log(message.guild_id)
console.log(message.member)
return {}
sendMessage(message)
},
/**