Skip to content

Instantly share code, notes, and snippets.

@zailio-labs
Created May 7, 2025 20:08
Show Gist options
  • Select an option

  • Save zailio-labs/98587da782616903bb7a937d9cf017cb to your computer and use it in GitHub Desktop.

Select an option

Save zailio-labs/98587da782616903bb7a937d9cf017cb to your computer and use it in GitHub Desktop.
/* 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