TheOceanCookie
TheOceanCookie
DIAdiscord.js - Imagine an app
Created by TheOceanCookie on 8/14/2023 in #djs-questions
channel.send('content'); error ponying to .send
TypeError: Cannot read properties of undefined (reading 'send') i am trying to send a message to a channel without a user promting it to but it doesnt seem to work. heres the code i got from the discord.js guide: 'const channel = client.channels.cache.get('id'); channel.send('content');'
13 replies