Skip to content

unable to send slash command or its my issue. please tell #841

Answered by TheDevYellowy
ggjest asked this question in Q&A
Discussion options

You must be logged in to vote

in the sendSlash function the first property is the bots id not the clients so the code would be

client.channels.cache.get(m.channel.id).sendSlash('botIdHere', "farm view")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aiko-chan-ai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants