forked from cadence/out-of-your-element
Comparison of all the stuff I did. #6
1 changed files with 2 additions and 1 deletions
|
|
@ -286,7 +286,8 @@ const commands = [{
|
|||
}
|
||||
catch (e){
|
||||
const what_how = typeof e
|
||||
console.log("Type of "+e+" is "+what_how+" with keys: "+Object.keys(e))
|
||||
const but_im_done_with_you = typeof e.code
|
||||
console.log("Type of "+e+" is "+what_how+" with keys "+Object.keys(e) + " and the value of that „code” key is "+e.code+" of type "+but_im_done_with_you)
|
||||
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