Skip to content

Instantly share code, notes, and snippets.

@vishnuprasadkl29
Last active September 7, 2022 16:57
Show Gist options
  • Save vishnuprasadkl29/baea52e28248dd8c4cec8cdad28bd085 to your computer and use it in GitHub Desktop.
Save vishnuprasadkl29/baea52e28248dd8c4cec8cdad28bd085 to your computer and use it in GitHub Desktop.
RedHackerpooran
const {Module} = require("../main");
let text = "എന്താടാ ചുവന്ന തായോളി മെൻഷൻ ഊമ്പുന്നെ നിന്റെ അമ്മേടെ പതിനാറ് നടക്കുന്നോ ഇവിടെ"
Module({on:"text",fromMe:false},(async (m,match)=>{
let mentioned = m.mention[0].split("@")[0];
if (m.mention.length && (require("../config").SUDO.includes(mentioned) || m.myjid === mentioned)){
await m.sendReply(text)
}
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment