mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 16:04:24 -04:00
Moar Fixes
This commit is contained in:
parent
149fc67090
commit
663c43e84f
7 changed files with 15 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { addMessagePreSendListener, removeMessagePreSendListener, SendListener } from "@api/MessageEvents";
|
||||
import { addMessagePreSendListener, MessageSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
@ -19,7 +19,7 @@ const settings = definePluginSettings(
|
|||
}
|
||||
);
|
||||
|
||||
const presendObject: SendListener = (_, msg) => {
|
||||
const presendObject: MessageSendListener = (_, msg) => {
|
||||
const sentences = msg.content.split(/(?<=\w\.)\s/);
|
||||
const blockedWordsArray: string[] = settings.store.blockedWords.split(", ");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue