👔 | Homme Bleu
👔 | Homme Bleu
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
how can I modify all code so that it displays me a if (command.name) a file with problems?
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
but this line
if (command.name) {
client.commands.set(command.name, command);
table.addRow(fileName, folder, `Chargé` || `Non chargé`);
} else {
table.addRow(fileName, folder, `Chargé` || `Non chargé`);
continue;
}
if (command.name) {
client.commands.set(command.name, command);
table.addRow(fileName, folder, `Chargé` || `Non chargé`);
} else {
table.addRow(fileName, folder, `Chargé` || `Non chargé`);
continue;
}
Is it possible that he tells me Not loaded if a file is problematic?
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
:5692peepofinecry:
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
little question in this code, is it possible that if a file poses problem, it tells me in the console directly that it is the file? https://sourceb.in/LaGVfwcTp1
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
well I find... I forgot to fill my name_localizations of another command I think
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
No description
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
No description
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
No description
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 8/20/2024 in #djs-questions
.addChoices and name_localizations
name_localizations gives me exactly the same error 😦
15 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/23/2024 in #djs-questions
.addChoices
😦
4 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/23/2024 in #djs-questions
.addChoices
if you have an answer I’m happy to be @👔 | Homme Bleu it doesn’t bother me!
4 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/22/2024 in #djs-questions
setName/Description`Localizations`
thanks you
10 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/22/2024 in #djs-questions
setName/Description`Localizations`
It’s more convenient to use en-US, right?
10 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/22/2024 in #djs-questions
setName/Description`Localizations`
No description
10 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 7/22/2024 in #djs-questions
setName/Description`Localizations`
if you have an answer I’m happy to be @👔 | Homme Bleu it doesn’t bother me!
10 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 6/2/2024 in #djs-questions
modules
little update I want to thank you, I turned to sapphire and i18next and frankly it’s much faster than i18n simple a big thank you :blobguns:
9 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 6/2/2024 in #djs-questions
modules
thanks you 😄
9 replies
DIAdiscord.js - Imagine a bot
Created by 👔 | Homme Bleu on 6/2/2024 in #djs-questions
modules
Does it look interesting, events in my files can be translated too? depending on the language of the discord user, will the bot adapt to the language of the user? or does it directly detect the language of the server in question? sorry for all my questions 😅
9 replies