mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
write editMessage action, connected to dispatcher
This commit is contained in:
parent
2973170e87
commit
040a2d253f
7 changed files with 95 additions and 33 deletions
|
@ -43,7 +43,7 @@ async function createSim(user) {
|
|||
* Ensure a sim is registered for the user.
|
||||
* If there is already a sim, use that one. If there isn't one yet, register a new sim.
|
||||
* @param {import("discord-api-types/v10").APIUser} user
|
||||
* @returns mxid
|
||||
* @returns {Promise<string>} mxid
|
||||
*/
|
||||
async function ensureSim(user) {
|
||||
let mxid = null
|
||||
|
@ -60,7 +60,7 @@ async function ensureSim(user) {
|
|||
* Ensure a sim is registered for the user and is joined to the room.
|
||||
* @param {import("discord-api-types/v10").APIUser} user
|
||||
* @param {string} roomID
|
||||
* @returns mxid
|
||||
* @returns {Promise<string>} mxid
|
||||
*/
|
||||
async function ensureSimJoined(user, roomID) {
|
||||
// Ensure room ID is really an ID, not an alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue