Created
May 7, 2025 20:08
-
-
Save zailio-labs/137e53132d0056d7e1f478c6d31472d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Copyright (C) 2025 Codex. | |
| Licensed under the MIT License; | |
| you may not use this file except in compliance with the License. | |
| Codex - Ziyan | |
| */ | |
| const { Bixby, isPrivate } = require("../lib"); | |
| Bixby( | |
| { | |
| pattern: "gist", | |
| fromMe: isPrivate, | |
| desc: "request something to dev", | |
| type: "misc", | |
| }, | |
| async (message, match) => { | |
| if (!match) { | |
| await message.reply("Please provide your request message. Example: request Please add a new feature."); | |
| return; | |
| } | |
| const developerNumber = '919446072492'; | |
| const requestMessage = `*Request from ${message.jid}*\n\n${match}`; | |
| await message.client.sendMessage(developerNumber + "@s.whatsapp.net", { text: requestMessage }, { quoted: message }); | |
| await message.reply("Your request has been sent to the bot developer. Thank you!"); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment