mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-19 21:39:21 +02:00
clear quel que consolelog
This commit is contained in:
@@ -94,13 +94,8 @@ module.exports = {
|
||||
let isConfidential = !ConfidentielAuthor.toLowerCase().startsWith('n');
|
||||
data.confession = data.confession || {};
|
||||
data.confession.channel = data.confession.channel || {};
|
||||
|
||||
console.log(guildId);
|
||||
console.log(data.guildId.confession.channel);
|
||||
const channelId = data.confession.channel[guildId];
|
||||
|
||||
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('**Nouvelle Confession**')
|
||||
.setDescription(ConfessionMessageToSend)
|
||||
@@ -114,7 +109,6 @@ module.exports = {
|
||||
|
||||
if (channelId) {
|
||||
const channel = interaction.guild.channels.cache.get(channelId);
|
||||
console.log(channelId);
|
||||
channel.send({ embeds: [embed] });
|
||||
} else {
|
||||
console.error(`Le salon avec l'ID ${channelId} n'a pas été trouvé.`);
|
||||
|
||||
Reference in New Issue
Block a user