summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:16:31 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:16:31 +1000
commit268cfbe2b26f7eb8b101c8d5aa5fa118ea7a19b2 (patch)
tree0f268dd96bf89ed0f38f029b1dc306e6db5160f9
parentspaghetti (diff)
downloadserver-268cfbe2b26f7eb8b101c8d5aa5fa118ea7a19b2.tar.xz
i really need some way to just, upload the code directly, instead of going through git. thatd be nice
-rw-r--r--src/util/entities/Message.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts

index 0f59df6e..87bc9d16 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts
@@ -299,7 +299,7 @@ export class Message extends BaseClass { to = to.filter((x) => { if (typeof x == "string") return x.includes("channel"); return false; - }); + })[0]; if (!to) throw new Error("not deliverable");