Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update menu.js #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions commandes/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const temps = moment().format('HH:mm:ss');
const date = moment().format('DD/MM/YYYY');

let infoMsg = `
╭────✧𝐃𝐄𝐗𝐓𝐄𝐑-𝐌𝐃✧────◆
╭────✧𝐌𝐀𝐅𝐈-𝐌𝐃✧────◆
│♨ *Préfix* : ${s.PREFIXE}
│♨ *User* : ${s.OWNER_NAME}
│♨ *Mode* : ${mode}
Expand All @@ -40,13 +40,13 @@ const date = moment().format('DD/MM/YYYY');
│♨ *Time* : ${temps}
│♨ *Ram* : ${format(os.totalmem() - os.freemem())}/${format(os.totalmem())}
│♨ *Platform* : ${os.platform()}
│♨ *Developer* : 𝐃𝐄𝐗𝐓𝐄𝐑
│♨ *Developer* : 𝐓𝐇𝐀𝐑𝐈𝐍𝐃𝐔
│♨ *Version* : 𝐯7.5.25
╰─────✧The-GOAT✧─────◆ \n\n`;
╰─────✧MAFI-MD✧─────◆ \n\n`;

let menuMsg=`

*DEXTER-MD COMMANDS :*
*MAFI MD COMMANDS :*
◇ ◇
`;

Expand All @@ -64,7 +64,7 @@ const date = moment().format('DD/MM/YYYY');
◇ ◇
*————— ★ —————*

*📌DEXTER©🐐²0²⁴*
*📌MAFI ID²0²⁴*
*╰═════════════⊷*
`;

Expand All @@ -82,7 +82,7 @@ const date = moment().format('DD/MM/YYYY');
// Vérification pour .jpeg ou .png
else if (lien.match(/\.(jpeg|png|jpg)$/i)) {
try {
zk.sendMessage(dest, { image: { url: lien }, caption:infoMsg + menuMsg, footer: "*📌Dexter*" }, { quoted: ms });
zk.sendMessage(dest, { image: { url: lien }, caption:infoMsg + menuMsg, footer: "*📌tharindu*" }, { quoted: ms });
}
catch (e) {
console.log("🥵🥵 Menu erreur " + e);
Expand Down