From fcdfd0795aa8ad49a39874daa80949132f83af53 Mon Sep 17 00:00:00 2001 From: Elvyra <88881326+EepyElvyra@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:35:11 +0100 Subject: [PATCH] convert noreplymention setting --- src/plugins/noReplyMention/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/noReplyMention/index.tsx b/src/plugins/noReplyMention/index.tsx index 16b3a3e00..ca4bec4e7 100644 --- a/src/plugins/noReplyMention/index.tsx +++ b/src/plugins/noReplyMention/index.tsx @@ -24,9 +24,9 @@ import type { Message } from "discord-types/general"; const settings = definePluginSettings({ userList: { description: - "List of users to allow or exempt pings for (separated by commas or spaces)", - type: OptionType.STRING, - default: "1234567890123445,1234567890123445", + "List of users to allow or exempt pings for", + type: OptionType.USERS, + oldStringSeparator: s => s.split(/[\s,]+/).filter(v => v !== "1234567890123445") }, shouldPingListed: { description: "Behaviour",