forked from cadence/out-of-your-element
Comparison of all the stuff I did. #6
1 changed files with 2 additions and 2 deletions
|
|
@ -339,13 +339,13 @@ const commands = [{
|
||||||
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?"
|
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) {
|
else if (e.code === 50035) {
|
||||||
return api.sendEvent(event.room_id, "m.room.message", {
|
return api.sendEvent(event.room_id, "m.room.message", {
|
||||||
...ctx,
|
...ctx,
|
||||||
msgtype: "m.text",
|
msgtype: "m.text",
|
||||||
body: "Specified thread name is too long - thread creation failed. Please yap a bit less in the title, the thread body is for that. ;)"
|
body: "Specified thread name is too long - thread creation failed. Please yap a bit less in the title, the thread body is for that. ;)"
|
||||||
})
|
})
|
||||||
}*/
|
}
|
||||||
else {
|
else {
|
||||||
await api.sendEvent(event.room_id, "m.room.message", {
|
await api.sendEvent(event.room_id, "m.room.message", {
|
||||||
...ctx,
|
...ctx,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue