mirror of
https://github.com/danbulant/ssps-bot
synced 2026-06-19 06:11:31 +00:00
oprava změny data
This commit is contained in:
parent
4fe5cd8783
commit
0e19f9b52d
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ module.exports = class suplovani extends commando.Command {
|
|||
}
|
||||
|
||||
async run(msg) {
|
||||
const date = DateTime.now();
|
||||
if(date.hour > 16) date.plus({ days: 1 }); // show tomorrow supplementations after 4PM
|
||||
let date = DateTime.now();
|
||||
if(date.hour > 16) date = date.plus({ days: 1 }); // show tomorrow supplementations after 4PM
|
||||
const supplementations = await api.getSupplementations(date);
|
||||
|
||||
const embed = new MessageEmbed();
|
||||
|
|
|
|||
Loading…
Reference in a new issue