hopefully added parsing for wrapping of proxies (at beginning, around, and end)

This commit is contained in:
Aster Fialla
2026-02-14 15:20:05 -05:00
committed by pieartsy
parent 650f39266b
commit e602eefc5d
2 changed files with 8 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ function preventSameNameCollapse(channel, username) {
*/
wh.sendMessageAsMember = async function(client, message, content) {
const proxyMatch = await messageHelper.parseProxyTags(message.author.id, content);
const proxyMatch = await messageHelper.parseProxyTags(message.author.id, message.attachments[0] ?? null, content);
// If the message doesn't match a proxy, just return.
if (!proxyMatch.proxy) {
return;