goat
command
date
Shows the current date (English + Bangla)
0
views
0
likes
0
installs
Aliases: dt
raw source
module.exports = {
config: {
name: "date",
aliases: ["dt"],
version: "4.0.1",
author: "šššš®š
",
description: "Shows the current date (English + Bangla)",
category: "system"
},
onStart: async function ({ message }) {
const now = new Date();
const dateEn = now.toLocaleDateString("en-US", {
timeZone: "Asia/Dhaka",
weekday: "long",
year: "numeric",
month: "long",
day: "numeric"
});
const dateBn = now.toLocaleDateString("bn-BD", {
timeZone: "Asia/Dhaka",
weekday: "long",
year: "numeric",
month: "long",
day: "numeric"
});
const reply = `š
ą¦ą¦²ą¦¤ą¦æ তারিঠ(English): ${dateEn}\nšļø ą¦ą¦²ą¦¤ą¦æ তারিঠ(ą¦¬ą¦¾ą¦ą¦²ą¦¾): ${dateBn}\n\n⨠Maruf's Bot | Powered by Prime Maruf`;
return message.reply(reply);
}
};