Comparison of all the stuff I did. #6

Merged
Guzio merged 48 commits from fuckery into main 2026-03-02 15:17:09 +00:00
Showing only changes of commit 3f7a7aa10f - Show all commits

View file

@ -298,6 +298,7 @@ const commands = [{
if (words.length < 2){
words[1] = (await api.getEvent(event.room_id, attachedToEvent)).content.body
words[1] = words[1].length < 100 ? words[1] : words[1].slice(0, 96) + "..."
if (isFallingBack) return api.sendEvent(event.room_id, "m.room.message", {
...ctx,
msgtype: "m.text",
@ -335,7 +336,14 @@ const commands = [{
return api.sendEvent(event.room_id, "m.room.message", {
...ctx,
msgtype: "m.text",
body: "You cannot create a thread in a Discord channel of the type, to which this Matrix room is bridged to. Did you try to create a thread inside a thread?"
body: "You cannot create threads in a Discord channel of the type, to which this Matrix room is bridged to. Did you try to create a thread inside a thread?"
})
}
else if (e.code === 50035) {
return api.sendEvent(event.room_id, "m.room.message", {
...ctx,
msgtype: "m.text",
body: "Specified thread name is too long - thread creation failed. Please yap a bit less in the title, thread body is for that. ;)"
})
}
else {