mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
hopefully added parsing for wrapping of proxies (at beginning, around, and end)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user