diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..9de4c292 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +name: Node.js CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Start application + run: npm start diff --git a/settings.js b/settings.js index b40d8ade..cbeb3eb9 100644 --- a/settings.js +++ b/settings.js @@ -6,7 +6,7 @@ function convertToBool(text, fault = 'true') { return text === fault ? true : false; } module.exports = { -SESSION_ID: process.env.SESSION_ID || "", +SESSION_ID: process.env.SESSION_ID || "malvin~JvVADIgK#mkZ2INokTgrBDajvHUV0AM9AY97Ge07REe9mM_uFaoE", // add your Session Id make sure it starts with malvin~ PREFIX: process.env.PREFIX || ".", // add your prifix for bot @@ -21,32 +21,32 @@ LINK_WHITELIST: "youtube.com,github.com", LINK_ACTION: "kick", // "kick", "mute", or "none" - AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "true", + AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "false", // make true or false status auto seen AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || "false", // make true if you want auto reply on status - AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || "true", + AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || "false", // make true if you want auto reply on status AUTO_STATUS_MSG: process.env.AUTO_STATUS_MSG || "*Just seen ur status 😆*", // set the auto reply massage on status reply - WELCOME: process.env.WELCOME || "true", + WELCOME: process.env.WELCOME || "false", // true if want welcome and goodbye msg in groups ADMIN_EVENTS: process.env.ADMIN_EVENTS || "false", // make true to know who dismiss or promoted a member in group - ANTI_LINK: process.env.ANTI_LINK || "true", + ANTI_LINK: process.env.ANTI_LINK || "false", // make anti link true,false for groups MENTION_REPLY: process.env.MENTION_REPLY || "false", // make true if want auto voice reply if someone menetion you - MENU_IMAGE_URL: process.env.MENU_IMAGE_URL || "https://files.catbox.moe/qumhu4.jpg", + MENU_IMAGE_URL: process.env.MENU_IMAGE_URL || "https://files.catbox.moe/3q6v1e.jpeg", // add custom menu and mention reply image url ALIVE_IMG: process.env.ALIVE_IMG || "https://files.catbox.moe/xshsmk", @@ -68,7 +68,7 @@ LINK_WHITELIST: "youtube.com,github.com", DELETE_LINKS: process.env.DELETE_LINKS || "false", // automatic delete links witho remove member - OWNER_NUMBER: process.env.OWNER_NUMBER || "263776388689", + OWNER_NUMBER: process.env.OWNER_NUMBER || "2250143444765", // add your bot owner number OWNER_NAME: process.env.OWNER_NAME || "ᴍᴀʟᴠɪɴ ᴋɪɴɢ", @@ -97,7 +97,7 @@ OWNER_NAME: process.env.OWNER_NAME || "ᴍᴀʟᴠɪɴ ᴋɪɴɢ", ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false", // maks true for always online - PUBLIC_MODE: process.env.PUBLIC_MODE || "false", + PUBLIC_MODE: process.env.PUBLIC_MODE || "true", // make false if want private mod AUTO_TYPING: process.env.AUTO_TYPING || "false", @@ -106,7 +106,7 @@ OWNER_NAME: process.env.OWNER_NAME || "ᴍᴀʟᴠɪɴ ᴋɪɴɢ", READ_CMD: process.env.READ_CMD || "false", // true if want mark commands as read - DEV: process.env.DEV || "263776388689", + DEV: process.env.DEV || "2250143444765", //replace with your whatsapp number ANTI_VV: process.env.ANTI_VV || "true",