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 #6

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 @@ -43,7 +43,7 @@ const temps = moment().format('HH:mm:ss');
const date = moment().format('DD/MM/YYYY');

let infoMsg = `
╭────✧𝐅𝐋𝐀𝐒𝐇-𝐌𝐃✧────◆
╭────✧𝐅𝐀𝐑𝐎𝐎𝐐-𝐌𝐀𝐆𝐒𝐈✧──◆
┃❃╭──────────────
┃❃│ Prefix : ${s.PREFIXE}
┃❃│ User : ${s.OWNER_NAME}
Expand All @@ -55,11 +55,11 @@ const date = moment().format('DD/MM/YYYY');
┃❃│ Ram : ${format(os.totalmem() - os.freemem())}/${format(os.totalmem())}
┃❃│ Uptime : ${runtime(process.uptime())}
┃❃╰───────────────
╰─────✧The-GOAT✧─────◆ \n\n`;
╰─────✧𝐅𝐀𝐑𝐎𝐎𝐐-𝐌𝐀𝐆𝐒𝐈✧─────◆ \n\n`;

let menuMsg=`

*FLASH-MD COMMANDS :*
*𝐅𝐀𝐑𝐎𝐎𝐐-𝐌𝐀𝐆𝐒𝐈 COMMANDS :*
◇ ◇
`;

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

*📌France King®🐐²0²⁴*
*💫𝐅𝐀𝐑𝐎𝐎𝐐 𝐌𝐀𝐆𝐒𝐈🌠*
*╰═════════════⊷*
`;

var lien = mybotpic();

if (lien.match(/\.(mp4|gif)$/i)) {
try {
zk.sendMessage(dest, { video: { url: lien }, caption:infoMsg + menuMsg, footer: "Je suis *Zokou-MD*, développé par Djalega++" , gifPlayback : true }, { quoted: ms });
zk.sendMessage(dest, { video: { url: lien }, caption:infoMsg + menuMsg, footer: "Je suis *𝐅𝐀𝐑𝐎𝐎𝐐-𝐌𝐃*, développé par Djalega++" , gifPlayback : true }, { quoted: ms });
}
catch (e) {
console.log("🥵🥵 Menu erreur " + e);
Expand All @@ -95,7 +95,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: "*📌France King*" }, { quoted: ms });
zk.sendMessage(dest, { image: { url: lien }, caption:infoMsg + menuMsg, footer: "*𝐅𝐀𝐑𝐎𝐎𝐐_𝐌𝐀𝐆𝐒𝐈*" }, { quoted: ms });
}
catch (e) {
console.log("🥵🥵 Menu erreur " + e);
Expand Down