I love typos

This commit is contained in:
Daniel Bulant 2021-11-26 18:37:15 +01:00
parent 2e9570a27d
commit 1d7e801321

View file

@ -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();