Problem getting channel
so i have logChannel defined like this
and i have my error handler in a folder in the work dir... but it gives the error that cannot read properties of undefined
i also used my eval cmd and it returns the channel info just fine
50 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
djs v14.7.1 and node v17.3.0
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok lemme try
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
discord
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i am
i have a whole handler set up
and i am also passing client as args
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
of ?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
when there is an error
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
wdym
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
OH
in my index.js i just pass client with my handlers
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes it showed this
now i changed it back
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
all cmds work fine though... also i have different files for different events
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
OHHHHHHHH
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
but also my bot is present in the server where the channel is
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
lemme try it
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok so this worked as it sends stuff in channel now
but there is a problem
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
it just spams
Multiple resolves error
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
several of these
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok lemme try
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i have
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
tysm
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
:)