mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-26 14:48:21 -04:00
Fixes
This commit is contained in:
parent
acf04bb01d
commit
90d946e7c6
26 changed files with 84 additions and 84 deletions
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { addPreSendListener, removePreSendListener, SendListener } from "@api/MessageEvents";
|
||||
import { addMessagePreSendListener, removeMessagePreSendListener, SendListener } from "@api/MessageEvents";
|
||||
import { definePluginSettings } from "@api/Settings";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
@ -39,9 +39,9 @@ export default definePlugin({
|
|||
settings,
|
||||
|
||||
start() {
|
||||
addPreSendListener(presendObject);
|
||||
addMessagePreSendListener(presendObject);
|
||||
},
|
||||
stop() {
|
||||
removePreSendListener(presendObject);
|
||||
removeMessagePreSendListener(presendObject);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue