forked from cadence/out-of-your-element
Comparison of all the stuff I did. #6
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ const commands = [{
|
|||
else throw {code: "NO_ATTACH_TARGET", was_supposed_to_be: attachedToEvent};
|
||||
}
|
||||
catch (e){
|
||||
console.log(e)
|
||||
if (e.code === "NO_ATTACH_TARGET") {
|
||||
return api.sendEvent(event.room_id, "m.room.message", {
|
||||
...ctx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue