mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-21 12:27:02 -04:00
Finish Suncord Port Hopefully (Equicord)
This commit is contained in:
parent
ef086cd1c4
commit
0ef25db8ed
13 changed files with 171 additions and 110 deletions
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
import { addPreSendListener, removePreSendListener } from "@api/MessageEvents";
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { definePluginSettings, migratePluginSettings } from "@api/Settings";
|
||||
import { Devs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
||||
|
@ -28,8 +28,9 @@ function replaceQuestionMarks(content: string): string {
|
|||
}
|
||||
}
|
||||
|
||||
migratePluginSettings("QuestionMarkReplacement", "QuestionMarkReplace");
|
||||
export default definePlugin({
|
||||
name: "QuestionMarkReplace",
|
||||
name: "QuestionMarkReplacement",
|
||||
description: "Replace all question marks with chosen string, if message only contains question marks.",
|
||||
authors: [Devs.nyx],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue