forked from cadence/out-of-your-element
Comparison of all the stuff I did. #6
1 changed files with 2 additions and 0 deletions
|
|
@ -288,6 +288,8 @@ const commands = [{
|
|||
const what_how = typeof 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)
|
||||
console.log("MSG: "+e.message)
|
||||
console.log("NAM: "+e.name)
|
||||
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