Zarchical
Explore posts from serversDIAdiscord.js - Imagine a bot
•Created by Zarchical on 7/31/2023 in #djs-questions
How do I send a message in a seperate channel from a slash command?
I've been trying to do this but can't seem to figure out how to get the client into the slash command. Any help would be greatly appreciated. Below is a snippet of my imports and some code which is trying to send the message, however failing because client is undefined.
Imports:
Code:
3 replies