Functionalities
Other
$semester
Breaks down the year into "3 month" quarters, much like schools do.

FUNCTION USAGE

  • $semester
$semester - Breaks down the year into "3 month" quarters. Commands being ran between beginning of January and end of March will return 1.

1: Commands being ran in these months will return 1

- January - February - March

2: Commands being ran in these months will return 2

- April - May - June

3: Commands being ran in these months will return 3

- July - August - September

4: Commands being ran in these months will return 4

- October - November - December

Example:

1
bot.Command({
2
name: "month-stats",
3
code: `
4
**$monthName** is month number **$monthInYear** of year **$year**
5
We're about **$semester/4** of the way through this year
6
`
7
})
Copied!
Last modified 4mo ago