If you need more info, google this: "discord.js bot tutorial". There are tons of very well explained tutorials about it.
Config Files
Spoiler: Config Files
config.ini (Bot config)
[bot]
# Your Bot token. Ignore if you use enviroment variables (E.g. Heroku Config Vars)
# Never share your Bot Token with anyone
TOKEN=SuperSecretBotTokenHere
# command to request the list of available servers
svlist_command=!list
# Bot status | Options: online, idle, offline, dnd (Do Not Disturb)
status=online
# Embed colors in "Hex format"
# server info embed color
embed_svinfo_color="#308030"
# server list embed color
embed_svlist_color="#808030"
# connection failed embed color
embed_error_color="#803030"
servers.ini (Stores the list of servers)
# Example:
# [Server Name] # DO NOT USE DOTS ".", SEMICOLONS ";", NUMBER SIGNS "#" OR SQUARE BRACKETS "[" & "]" IN THE NAME!!!
# type=mohaa # The type of game: mohaa, mohsh or mohbt
# ip=123.123.123.123 # Server IP
# port=12203 # Server Port
# command=!server # The command to request the server info on Discord
Gj Zappa! I have made a bot too to send commands to the server with the node.js template from Appel with his help :)
November 12th, 2019, 12:33 PM
James
Nice job! Thanks for the share!
November 13th, 2019, 01:36 PM
Appelpitje
Check MOHUE Discord server, im creating a bot to send notifications to people in the xnull group whenever a new post is made. This is also a test to see if it works :D