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};
|
else throw {code: "NO_ATTACH_TARGET", was_supposed_to_be: attachedToEvent};
|
||||||
}
|
}
|
||||||
catch (e){
|
catch (e){
|
||||||
|
console.log(e)
|
||||||
if (e.code === "NO_ATTACH_TARGET") {
|
if (e.code === "NO_ATTACH_TARGET") {
|
||||||
return api.sendEvent(event.room_id, "m.room.message", {
|
return api.sendEvent(event.room_id, "m.room.message", {
|
||||||
...ctx,
|
...ctx,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue