Raised This Month: $1944 Target: $400
 486% 

Cross-Game Chatter v1.6 [Discord <-> AMXX]


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
Veteran Member
Join Date: Aug 2017
Location: Land of Eagles
Old 07-08-2020 , 11:54   Re: Cross-Game Chatter v1.6 [Discord <-> AMXX]
Reply With Quote #51

I fixed it now. Apparently I didn't realize that MAX_MOTD_LENGTH was defined on 1.8.3.
thEsp is offline
JkDev
New Member
Join Date: Jul 2020
Location: Argentina
Old 07-08-2020 , 12:02   Re: Cross-Game Chatter v1.6 [Discord <-> AMXX]
Reply With Quote #52

Quote:
Originally Posted by thEsp View Post
I fixed it now. Apparently I didn't realize that MAX_MOTD_LENGTH was defined on 1.8.3.

I already compile, thank you very much
JkDev is offline
F0X
New Member
Join Date: Jul 2020
Old 07-15-2020 , 01:48   Re: Cross-Game Chatter v1.6 [Discord <-> AMXX]
Reply With Quote #53

Hey, does anyone know how to add this bot to herokuapp?


Some tests:

Quote:
C:\BOT\server.js:43
targetChannels.forEach(channel => bot.channels.get(channel).send(message));
^

TypeError: Cannot read property 'send' of undefined
at C:\BOT\server.js:43:64
at Array.forEach (<anonymous>)
at Socket.<anonymous> (C:\BOT\server.js:43:20)
at Socket.emit (events.js15:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23)

C:\BOT>goto start
The bot starts well but after a moment it shows that, any suggestions?

Last edited by F0X; 07-15-2020 at 02:13.
F0X is offline
thEsp
Veteran Member
Join Date: Aug 2017
Location: Land of Eagles
Old 07-15-2020 , 04:35   Re: Cross-Game Chatter v1.6 [Discord <-> AMXX]
Reply With Quote #54

That function was deprecated (actually removed) in the latest versions of discord.js therefore you have to use version 11.5.1 (as specified on #5). Also you have to use it on the same root server as HLDS.

Last edited by thEsp; 07-15-2020 at 04:37.
thEsp is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:09.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode