Quote:
Originally Posted by thEsp
I'm sorry but I'm not going to help somebody who has no common sense. Feel free to give up.
|
hello i try and now it say
targetChannels.forEach(channel => bot.channels.get(channel).send(message));
^
TypeError: Cannot read properties of undefined (reading 'send')
at [90mC:\Users\Administrator\Desktop\server\zomb ie sao luu\zombie mod 2 amxmodx1.9.0\zombie mod 2\zombie mod 2\zombie survivor mod2\Counter Strike mod2\cstrike\addons\Discord bot\[39mserver.js:43:64
at Array.forEach (<anonymous>)
at Socket.<anonymous> [90m(C:\Users\Administrator\Desktop\server\zom bie sao luu\zombie mod 2 amxmodx1.9.0\zombie mod 2\zombie mod 2\zombie survivor mod2\Counter Strike mod2\cstrike\addons\Discord bot\[39mserver.js:43:20[90m)[39m
[90m at Socket.emit (node:events:513:2
[39m
[90m at addChunk (node:internal/streams/readable
24:12)[39m
[90m at readableAddChunk (node:internal/streams/readable:297:9)[39m
[90m at Readable.push (node:internal/streams/readable:234:10)[39m
[90m at TCP.onStreamRead (node:internal/stream_base_commons:190:23)[39m