Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Commit

Permalink
helpers → common
Browse files Browse the repository at this point in the history
  • Loading branch information
meqativ committed Jul 2, 2023
1 parent c37a262 commit 28a28db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/TestCommand/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as hlp from "../../helpers/index.js";
import * as common from "../../common";
import { registerCommand } from "@vendetta/commands";
import { findByStoreName, findByProps } from "@vendetta/metro";
let madeSendMessage;
function sendMessage() {
if (window.sendMessage) return window.sendMessage?.(...arguments);
if (!madeSendMessage) madeSendMessage = hlp.mSendMessage(vendetta);
if (!madeSendMessage) madeSendMessage = common.mSendMessage(vendetta);
return madeSendMessage(...arguments);
}
function putAProxy(obj) {
Expand All @@ -25,7 +25,7 @@ export default {
onLoad() {
try {
[
hlp.cmdDisplays({
common.cmdDisplays({
execute: async (args, ctx) => {
if (ctx.autocomplete) {
const c = [{ name: "meow", displayName: "meow", value: "mrrp" }];
Expand Down

0 comments on commit 28a28db

Please sign in to comment.