This commit is contained in:
Bxio 2025-04-04 20:34:42 +01:00
parent 955ea1f5d5
commit 602821878f

View File

@ -75,7 +75,7 @@ module.exports = {
if (checkRows.length > 0) {
// Já existe um guildId na tabela, você pode retornar uma resposta indicando a duplicação
interaction.editReply('❌ Este guildId já está registrado.');
console.log(checkRows.length); // Log the result
//console.log(checkRows.length); // Log the result
} else {
// O guildId não existe, podemos prosseguir com a inserção ou outra ação
const insertQuery = `INSERT INTO Guilds (guildId,guildownerId) VALUES ('${guildId}','${guildownerId}')`;