hi ı update my bot v12 to v14. my bot online but not working. what is the problem
hi ı update my bot v12 to v14. my bot online but not working. what is the problem
but dont came error in console
57 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.what do you mean by not working
To help you we need more information:
- What are you trying to do?
- What is your code?
- What errors and debug logs do you have?
okey my bot is online but not working ı say ,help (,yardım is a turkish) but my bot not say anything
show your code
okey const { Client } = Discord; // Burayı değiştirdim
const client = new Client({ intents: 32767 }); // Burayı değiştirdim
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
Tag suggestion for @alperenl:
We highly recommend only specifying the intents you actually need.
- Note, that
98303
, 32767
or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
- The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.show your code for messageCreate too
oh
ok ı send you
const Discord = require('discord.js')
const { EmbedBuilder } = require('discord.js')
module.exports = {
kod: "yardım",
async run (client, message, args) {
const kanal = new Discord.EmbedBuilder()
.setTitle('komut listesi')
.setDescription('')
.setAuthor('Warden')
.setColor("RANDOM")
.setThumbnail('https://cdn.discordapp.com/avatars/845376842486775868/c7d64b45fa676e51a475554bea625940.webp?size=4096')
.setFooter(' sürüm 2.2.0 ')
.addFieldsss('hesap-oluştur', 'önce hesap oluturmakla başlayalım')
.addFields('çalış', ' hesap kurduktan sonra rastgele para verir')
.addFields('prefix-ayarla', 'ön ek değiştirmeyi sağlar')
.addFields('cüzdan', 'bakiyenizi gösterir')
.addFields('ping', 'botun pingini gösterir')
.addFields('öneri', 'botun geliştiricisine önerinizi gönderir')
.addFields('bildir', 'bot ile ilgli şikayet veya bir hata bildirir')
.addFields('yatır', 'bankaya para yatırır')
.addFields('çek', 'bankadan para çeker')
.addFields('market', 'botun marketini açar')
.addFields('para-gönder <@etiket> <miktar>', 'para transferi yapmayı sağlar')
.addFields('linkler', 'Destek Sunucu | Davet | geliştirici')
message.channel.send({ embeds: [kanal] })
}
}
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
this code
oke
Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
can yuo send me example code
have fun
inş
ı do it but not working
what do you mean by not working
.
ı mean this
show your messagwCreate event please
this
?
no
which
also dont use all intents
client.on(“messageCreate”…
only use the ones you need
ı need all
for what
unused intents use memory and resources
all categories ban game play modeartion
yes but what part of them uses those intents
economies for my bot
hımmm
what
play a game
how does that relate to my message
unused intents use unecessary memory and resources
okey if ı delete unused intents can work ?
no but it will improve resource usage
you mean this ?
you define your prefix in an if loop
so it wont be accessible outside of it
oh
hımm soo
how ı can do ,change_prefix commands ?
?
all time bot online
or ı delete change-prefix command can working ?
when ı updating , bot is offline
now online but 1-5 day is offline
not working
if this is your code, that code wont work because
* there is no such thing as addFieldsssss
* you overwrite each field
* addFields takes an array of APIEmbedField objects ({name, value, inline}
* color doesnt take screaming sname case
* footer/authog takes an object
hıımm can you fix this ? ıcant understand
not give me error on console and bot not say anything
If you aren't getting any errors, try to place
console.log
checkpoints throughout your code to find out where execution stops.
- Once you do, log relevant values and if-conditions
- More sophisticated debugging methods are breakpoints and runtime inspections: learn moredoes your messageCreate event get triggered at all
how does that relate to my question
ı dont know
ı say you ı dont understand but translate cant translate this
but wrong
ı think ı do but not working ?
but ı say it translate cant translate this
how
If you can solve the problem of the code I threw at you, do I do it by examining the code you solved??
how
my english soo bad :/
but ı want 2 things
1. can you solve this my code message.create problem
2. why my code not working or solve this and ı mean this for looking code
ı mean my problem a embed
soo why
ı say the problem embed
how ı do embed
thanks
ı dont know this
hımm okey