mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 04:12:50 +02:00
initial with Discord
This commit is contained in:
commit
acfeab68e6
7 changed files with 142 additions and 0 deletions
11
modules/DiscordEvents.js
Normal file
11
modules/DiscordEvents.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
module.exports = {
|
||||
/**
|
||||
* Process Discord messages and convert to a message Matrix can understand
|
||||
*
|
||||
* @param {import("discord-typings").Message} message
|
||||
* @returns {import("../types").MatrixMessage}
|
||||
*/
|
||||
onMessageCreate: message => {
|
||||
return {}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue