mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 18:54: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') {
|
if (timezone.toLowerCase()==='asia/bangkok' || timezone.toLowerCase()==='utc') {
|
||||||
bot.core.run(command);
|
bot.core.run(command);
|
||||||
return;
|
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');
|
throw new SyntaxError('Invalid timezone');
|
||||||
} else {
|
} else {
|
||||||
bot.core.run(command);
|
bot.core.run(command);
|
||||||
|
@ -31,7 +31,7 @@ module.exports = {
|
||||||
.setDescription(description);
|
.setDescription(description);
|
||||||
channeldc.send({embeds: [Embed]});
|
channeldc.send({embeds: [Embed]});
|
||||||
return;
|
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');
|
throw new SyntaxError('Invalid timezone');
|
||||||
} else {
|
} else {
|
||||||
const Embed = new MessageEmbed()
|
const Embed = new MessageEmbed()
|
||||||
|
|
Loading…
Reference in a new issue