Skip to content

Instantly share code, notes, and snippets.

@mrlinux007
Created September 18, 2022 13:55
Show Gist options
  • Select an option

  • Save mrlinux007/fb7807519d598bcec3470c3f25568344 to your computer and use it in GitHub Desktop.

Select an option

Save mrlinux007/fb7807519d598bcec3470c3f25568344 to your computer and use it in GitHub Desktop.
const {
Function,
isPublic
} = require('../lib/')
Function({
pattern: '007button ?(.*)',
fromMe: isPublic,
desc: 'Sends list button',
type: 'misc',
}, async (message, match) => {
const sections = [
{
title: "1 ᴍʀʟɪɴᴜx 007",
rows: [
{title: "1 Iam Adeeb", rowId: "option1"},
{title: "2 Iam Adeeb", rowId: "option2", description: "3 ᴍʀʟɪɴᴜxͯ ⃢ᴀᷧᴅᴇᴇʙᷩ"}
]
},
{
title: "2 ᴍʀʟɪɴᴜx 007",
rows: [
{title: "3Iam Adeeb", rowId: "option3"},
{title: "4Iam Adeeb", rowId: "option4", description: "2 ᴍʀʟɪɴᴜxͯ ⃢ᴀᷧᴅᴇᴇʙᷩ"}
]
},
]
const listMessage = {
text: "☜☆☞ ᴍʀʟɪɴᴜxͯ ⃢ᴀᷧᴅᴇᴇʙᷩ",
footer: "Iam Adeeb",
title: " ᴍʀʟɪɴᴜxͯ ⃢ᴀᷧᴅᴇᴇʙᷩ",
buttonText: "ᴍʀʟɪɴᴜx 007",
sections
}
await message.client.sendMessage(message.chat, listMessage)
})
@mrlinux007
Copy link
Author

#Kdjeje

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment