Skip to content

Mass1milian0/deviousWhitelister

Repository files navigation

whitelister bot

this bot is especially designed for devious.gg network, however it's highly configurable

how to setup


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

configurations:

servers.json

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"
   }
]

users.db

a database of users linked to their mc username and server they are on, auto-handled by the bot, don't touch this

Enviromental variables

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

About

whitelister for devious.gg network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published