Dont send anything if time==0

This commit is contained in:
Raven Scott 2023-05-23 15:53:53 +02:00
parent 7102bf32f0
commit 6bf6c1ef28
1 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ async function generateResponse(conversation, message) {
// if the message object doesn't exist, create it
if (!botMessage) {
(async () => {
//if (time == 0) return
if (time == 0) return
botMessage = await message.channel.send({ embeds: [embedData] });
})();
} else {
@ -409,7 +409,7 @@ async function generateResponse(conversation, message) {
// if the message object doesn't exist, create it
if (!botMessage) {
(async () => {
//if (time == 0) return
if (time == 0) return
botMessage = await message.channel.send({ embeds: [embedData] });
})();
} else {