live updater

i have some commands, and some of them creates embeds, but if the bot created a verify embed, then i update the bot, then the verification process doesnt work anymore, or other embeds, so is there something i can do? for example doing smth in index.js?
19 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
EgesWorld
EgesWorldOP2mo ago
npm list discord.js: 14.16.3 node -v: 20.18.0
NyR
NyR2mo ago
show your code
- Verification process doesn't work how? - wdym by "update the bot"? You mean restart?
EgesWorld
EgesWorldOP2mo ago
oh, i saw the message now, and yes, i mean restart, like "nodemon", but i dont want it only in verification embed, i also want it in every script/command, so should i send index.js? so how can i do that? (pls ping me if u answer me) cant i make one in vsc?
hexpection
hexpection2mo ago
hi @EgesWorld u know codding like Dc.js and py
EgesWorld
EgesWorldOP2mo ago
.js a little bit
hexpection
hexpection2mo ago
ok
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
hexpection
hexpection2mo ago
im helping him im codding a "autorole" right now
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
hexpection
hexpection2mo ago
bro are u serius rn autorole.js turkish ver : const { SlashCommandBuilder } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('autorole') .setDescription('Set a role to be automatically assigned to new members') .addRoleOption(option => option.setName('role') .setDescription('Role to assign to new members') .setRequired(true)) .addChannelOption(option => option.setName('log_channel') .setDescription('Channel to log autorole actions') .setRequired(true)), async execute(interaction) { const role = interaction.options.getRole('role'); const logChannel = interaction.options.getChannel('log_channel'); // Save the role and channel IDs for use later interaction.client.autoroleSettings = { roleId: role.id, logChannelId: logChannel.id, }; await interaction.reply(Autorole set to ${role} and logs will be sent to ${logChannel}); } };
EgesWorld
EgesWorldOP2mo ago
he is we chatted per dm too
hexpection
hexpection2mo ago
BRO here is ss
hexpection
hexpection2mo ago
No description
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
EgesWorld
EgesWorldOP2mo ago
can u show where that says in the rules?
hexpection
hexpection2mo ago
Yea bro
EgesWorld
EgesWorldOP2mo ago
@hexpection
Want results from more Discord servers?
Add your server