Martoz
Martoz
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
ye
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
But I didn't touch the code, reinstalled Windows yesterday, saved the code, did everything, and here comes this error
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
console.log(process.env.TokenBot)
client.login(process.env.TokenBot);
console.log(process.env.TokenBot)
client.login(process.env.TokenBot);
it doesn't output anything
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
?
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
do you know how to fix it?
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
is it convenient to view it like this?
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
Yes, I tried inserting the token into clietn.login(), but it didn't help
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
require('dotenv').config();
require('dotenv').config();
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/19/2024 in #djs-questions
An invalid token was provided.
client.login(process.env.TokenBot);
client.login(process.env.TokenBot);
27 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/10/2024 in #djs-questions
This interaction failed
const createCloseButtonRow = () => {
return new MessageActionRow()
.addComponents(
new MessageButton()
.setCustomId('close_ticket')
.setLabel('Close')
.setStyle('DANGER')
);
};
const createCloseButtonRow = () => {
return new MessageActionRow()
.addComponents(
new MessageButton()
.setCustomId('close_ticket')
.setLabel('Close')
.setStyle('DANGER')
);
};
7 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 5/10/2024 in #djs-questions
This interaction failed
collector.on('collect', async (interaction) => {
if (interaction.customId === 'create_ticket') {
await handleCreateTicketButtonClick(interaction, ticketChannel);
} else if (interaction.customId === 'close_ticket') {
await handleTicketCloseButtonClick(interaction, ticketChannel);
}
});
collector.on('collect', async (interaction) => {
if (interaction.customId === 'create_ticket') {
await handleCreateTicketButtonClick(interaction, ticketChannel);
} else if (interaction.customId === 'close_ticket') {
await handleTicketCloseButtonClick(interaction, ticketChannel);
}
});
7 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
it doesn't work for me ( it gives an error
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
I mean, on your side? Do you have the same mistake?
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
?
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
oh, sorry
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
@Qjuh
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
?
16 replies
DIAdiscord.js - Imagine an app
Created by Martoz on 4/15/2024 in #djs-questions
pls help fix error
how to fix it
16 replies