mirror of
https://github.com/danbulant/ssps-bot
synced 2026-06-18 22:01:06 +00:00
I love typos
This commit is contained in:
parent
2e9570a27d
commit
1d7e801321
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ module.exports = class suplovani extends commando.Command {
|
|||
async run(msg) {
|
||||
let date = DateTime.now();
|
||||
if(date.hour > 16) date = date.plus({ days: 1 }); // show tomorrow supplementations after 4PM
|
||||
if(date.weekday > 5) date = date.plus({ days: 8 - weekday});
|
||||
if(date.weekday > 5) date = date.plus({ days: 8 - date.weekday});
|
||||
const supplementations = await api.getSupplementations(date);
|
||||
|
||||
const embed = new MessageEmbed();
|
||||
|
|
|
|||
Loading…
Reference in a new issue