Openkore and Discord Integration using Node.js
1 - Openkore 2 - Node.js 3 - Discord Bot 4 - A Discord Server where You and NodeKore are in the member list
1 - Configure the file conf/config.json
- "BOT_TOKEN" = Discord Bot Token
- "BOT_CHANNEL" = Channel ID where bot will send the messages
2 - Copy the plugin: NodeKore to openkore plugins folder
3 - Add the plugin to load list in openkore/control/sys.txt
4 - set bus 1 and bus_server_port 1234in openkore/control/sys.txt (bus_server_port [sys.txt] must be equal to SOCKET_PORT[config.json])
5 - Open terminal and go to NodeKore root folder
6 - Type: node index.js
- Where can i get the Channel ID?
- use command
!channelin discord server channel
- use command
!info: Show information about all connected bots.
!quit: <all/username/accountID> : Send Quit command to specific bot, if not defined send to all.
!relog: <all/username/accountID> <time> : Send relog command to specific bot, if not defined send to all.
!pm: <from/all> <to> <message> : Send PM command to bot.
!channel: Show the current Channel ID
!h: Show the Avaliable Commands

