It's just a bot. The only bot you will ever need.
- First of all go here: https://discordapp.com/developers/applications/me/
- Click "new App"
- Configure it (name, description...)
- Now you have the overview. Click "create a Bot User".
- This grants you an unique token, which you have to expose as an Environment Variable called BOT_TOKEN
- Now, to invite the Bot to you channel, and test it, go here: https://discordapp.com/oauth2/authorize?client_id=[YourClientID]&scope=bot&permissions=536063039 Replace the [YourClientID] with your client ID. You can find it under your app-details page.
- Now you have invited the bot to your channel, you can play with it. Use prefix + commands to see all commands.
- How can you edit the bot now?
- Clone this git. You will need:
- Python 2.X
- node.js
- First download Docker Toolbox and install
- Open the Docker Quickstart Terminal
- Wait until it finish initializing
- In the Docker Terminal move to the Project root path
- Build the Docker Container with "docker build ."
- Now run the Deploy Script with "./deploy.sh"
- To run it, open windows or linux console in glados-bot folder
- npm install typescript --save discord.js (This will create a node_folder in your libary)
- Type: npm run start
- npm install windows-build-tools (in src dir)
- npm install discord.js node-opus (in src dir)
- download https://ffmpeg.org/download.html
- You need to download/extract FFMPEG and make it as your PATH/System variable[environment variable]
- [https://i.stack.imgur.com/hAVzo.png] (for windows)
- npm install discord.js ytdl-core (in src dir), npm install discord.js youtube-search
- Restart system
- Now it should work.
Now you have started the bot. Changes can be made in the glados-bot/src/ folder. Just redeploy the bot if changes are made. To redeploy just run the deploy.sh script or type npm run with the terminal in the root path of the project.