TypeError: Cannot read properties of undefined (reading 'send')

That's my code in the index.js file: https://hst.sh/xabavudika.js I get the error in the title. I make this promise to wait for it in another file but I just tested it in the index.js What can be the issue? The channel ID is correct.
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Schlaumeyer
SchlaumeyerOP2y ago
... Yes took me 3 days I hate it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Schlaumeyer
SchlaumeyerOP2y ago
I tried it as a string before but I think that was before I waited for the Promise aaaaaaaaaaaaaa thx so much
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server