client.channels.fetch(<id>) returns error of expected token to be set #1416
-
When I try to define channel I get this error. I right clicked the channel and clicked "copy id" so it should be correct. I'm using fetch since it isn't in the cache as indicated by
I used the guide and this is an event handling file called Thank you for your help. Node packages: |
Beta Was this translation helpful? Give feedback.
Answered by
megatank58
Feb 12, 2023
Replies: 1 comment 1 reply
-
You are supposed to use the interaction.client and not make another client object as they are not linked and is basically another entity |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SteampunkWizardStudios
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are supposed to use the interaction.client and not make another client object as they are not linked and is basically another entity