mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
1 h can broke evreything real!1!1
This commit is contained in:
parent
fc560e157a
commit
ff03731af1
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
if (timezone.toLowerCase()==='asia/bangkok' || timezone.toLowerCase()==='utc') {
|
||||
bot.core.run(command);
|
||||
return;
|
||||
} else if (momented===moment().format('dddd, MMMM Do, YYYY, h:mm:ss A')) {
|
||||
} else if (momented===moment().format('dddd, MMMM Do, YYYY, hh:mm:ss A')) {
|
||||
throw new SyntaxError('Invalid timezone');
|
||||
} else {
|
||||
bot.core.run(command);
|
||||
|
@ -31,7 +31,7 @@ module.exports = {
|
|||
.setDescription(description);
|
||||
channeldc.send({embeds: [Embed]});
|
||||
return;
|
||||
} else if (momented===moment().format('dddd, MMMM Do, YYYY, h:mm:ss A')) {
|
||||
} else if (momented===moment().format('dddd, MMMM Do, YYYY, hh:mm:ss A')) {
|
||||
throw new SyntaxError('Invalid timezone');
|
||||
} else {
|
||||
const Embed = new MessageEmbed()
|
||||
|
|
Loading…
Reference in a new issue