simple bot to eval and execute things for it's master
- node.js > 6.0
- git-cli
Requires node.js greater than v4 and npm. pm2 is optional but highly recomended.
git clone https://github.com/macdja38/evalBot.gitclone the project from github.cd evalBotopen the projectnpm install --no-optionalinstall dependancies without optional voice support.- duplicate
auth.example.jsontoauth.json - edit the
auth.jsonfile and enter your token. - if you have pm2 run the bot with
pm2 start pm2.jsonif not run it usingnode main.js
If you are new to discord bot's you may not know how to find your token. Don't worry it's not too bad.
- open discord in your browser or in the client.
- Press
Ctrl+Shift+I - open the
resourcesorstoragetab depending on your thing. - Open
Local storage. - Open
discordapp.com - copy the value for token. (the long random thing between the "")
setwelcome <true|false>enables or disables welcoming globaly, welcome can be configured in the config.json file.eval <javascript>exec <console command>