forked from cadence/out-of-your-element
Comparison of all the stuff I did. #6
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ const commands = [{
|
|||
else throw {code: "NO_ATTACH_TARGET", was_supposed_to_be: attachedToEvent};
|
||||
}
|
||||
catch (e){
|
||||
console.log(typeof e)
|
||||
const what_how = typeof e
|
||||
console.log("Type of "+e+" is "+what_how)
|
||||
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