Jon Pitans TA
DIAdiscord.js - Imagine an app
•Created by Jon Pitans TA on 1/16/2024 in #djs-questions
Getting messages from a channel
Is there an example anywhere in the guide or docs for fetching messages from a channel? The only examples I can see start with channel.message.fetch() or something along those lines, but Ican't find anything that explains how channel is declared in this context. I assume it is along the lines of
const channel = new SomeConstructor(some properties)
I'd appreciate any pointers
5 replies