Why did I make it this way??? #13

Merged
Guzio merged 121 commits from main into mergable-fr-fr 2026-04-15 20:05:01 +00:00
Showing only changes of commit bea0b9370d - Show all commits

View file

@ -285,7 +285,8 @@ 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(typeof e) const what_how = typeof e
console.log("Type of "+e+" is "+what_how)
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,