this bot is especially designed for devious.gg network, however it's highly configurable
clone this repo, extract it anywhere, make sure you have node.js (latest), open a terminal, navigate to where you extracted the repo, type npm i
then node index.js
contains the server configuration, follows this syntax:
[
{
"label": "friendly name",
"description": "brief description",
"value": "AMP INSTANCE NAME,AMP INSTANCE API IP,MC SERVER IP ADDRESS,MODPACK VERSION"
},
{
"label": "another name",
"description": "another brief description",
"value": "AMP INSTANCE NAME, ANOTHER AMP INSTANCE API IP,MC SERVER IP ADDRESS,MODPACK VERSION"
}
]
a database of users linked to their mc username and server they are on, auto-handled by the bot, don't touch this
some enviromental variables must be set for the bot to work correctly
- DISCORD_TOKEN: discord token for the bot
- AMP_USER: username for the amp user that the bot manages
- AMP_PASSWORD: the password for the amp account that the bot manages
- CLIENTID: client id of the bot
- GUILDID: guild id where the bot will work
- MenuChannelID: where the menu has to be posted