mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
Update src/plugins/replyPingControl/index.ts
Co-authored-by: rini <nil@dissoc.cc>
This commit is contained in:
parent
ef4ab9588c
commit
5b2fe0ab0b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export default definePlugin({
|
|||
if (!repliedMessage || repliedMessage.author.id !== user.id)
|
||||
return;
|
||||
|
||||
const isWhitelisted = cachedWhitelist.includes(message.author.id);
|
||||
const isWhitelisted = settings.store.replyPingWhitelist.split(",").some(id => message.author.id === id.trim())
|
||||
|
||||
if (isWhitelisted || settings.store.alwaysPingOnReply) {
|
||||
if (!message.mentions.some(mention => mention.id === user.id))
|
||||
|
|
Loading…
Add table
Reference in a new issue