Started work on emotes schema and administration endpoints. Improvements to Link/Media embeds in chat.

This commit is contained in:
rainbow napkin 2024-12-17 07:37:57 -05:00
parent 1ce2fc3c22
commit 12922658b9
9 changed files with 266 additions and 19 deletions

View file

@ -51,7 +51,7 @@ class commandPreprocessor{
//I looked online for obscure characters that no one would use to prevent people from chatting embed placeholders
//Then I found this fucker, turns out it's literally made for the job lmao (even if it was originally intended for paper/magnetic tape)
//Replace link with indexed placeholder
splitMessage[chunkIndex] = `${this.links.length}`
splitMessage[chunkIndex] = `${this.links.length}`
//push current chunk as link
this.links.push(chunk);