Functionalities
Other
$dayInWeek
Gets the current day of the week as a number. Sunday returns `7` and Monday returns `1`.

FUNCTION USAGE

  • $dayInWeek
1 = Monday 2 = Tuesday 3 = Wednesday 4 = Thursday 5 = Friday 6 = Saturday 7 = Sunday
1
bot.Command({
2
name: "day-stats",
3
code: `
4
Today is **$weekday**!
5
It's day **$dayInWeek** in the week,
6
Day **$dayInMonth** in the month,
7
And day **$dayInYear** in the year.
8
`
9
})
Copied!
Last modified 10mo ago
Copy link