Skip to content

Instantly share code, notes, and snippets.

@Saad2425
Created October 25, 2023 10:36
Show Gist options
  • Select an option

  • Save Saad2425/2d97564e18503db703a24eb3dc92f257 to your computer and use it in GitHub Desktop.

Select an option

Save Saad2425/2d97564e18503db703a24eb3dc92f257 to your computer and use it in GitHub Desktop.
const {
inrl
} = require('../lib');
inrl({
pattern: 'responds?(.*)',
on: "text",
type: 'info'
}, async (message, match) => {
if(message.client.isCreator) return;
["hy","hi","hai"].map(async(s)=>{
if(message.client.body.startsWith(s)){
return await message.send("User Details Not Found");
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment