Pigeon
Pigeon
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
mb sorry for the trouble
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
yea now that const channel is in the event listener it works
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
i only move the client.send to the event listener
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
oh i misunderstood
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
i see the bot login on, it is online
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
it is channels from a server the bot is present to
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
i changed the id to another channel, the id is the right one
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
but it should work seeing that some people had it work using the same code
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
TypeError: Cannot read properties of undefined (reading 'send') i think it is channel.send that is the problem
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
the code should execute if it crashes right?
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
its a text channel
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
when i log settings.channel it logs the channel id
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
ye i checked the id
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
which should work if i am not mistaken
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
its store in a json file
"channel":"here is the id"
"channel":"here is the id"
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
these are my intents
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
});
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
});
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
by logging channel it logs
undefined
undefined
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
and it worked perfectly
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
my node.js should be fine because what i am making wasnt a discord bot at the beginning
40 replies
DIAdiscord.js - Imagine an app
Created by Pigeon on 6/23/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'send')
at least thats what i think
40 replies