adding basic reactions to discord messages
This commit is contained in:
@@ -42,6 +42,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
|
||||
*/
|
||||
async function ensureSim(user) {
|
||||
@@ -57,6 +58,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
|
||||
* @returns mxid
|
||||
*/
|
||||
async function ensureSimJoined(user, roomID) {
|
||||
|
||||
Reference in New Issue
Block a user