https://discordapp.com/oauth2/authorize?client_id=247869756609265664&scope=bot&permissions=0
https://discordapp.com/developers/applications/me
Copy the Dockerfile to your local system with Docker installed and build the image like this:
docker build --build-arg token=<token> -t trump-bot .
Afterwards, run the image via executing:
docker run --name trump-bot -d trump-bot
Your container should come up and start deploying shards. You can view it's progress via:
docker logs -f trump-bot
git clone https://github.com/Blogshot/trump-bot.git
https://nodejs.org/en/download/
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
apt-get install ffmpeg
edit your environment variables
Download the appropriate package from here: https://ffmpeg.org/download.html
{
"guildCount": 0,
"shards": 0
}
module.exports = {
token: "<bot-token>"
};
npm init
npm install --global --production windows-build-tools
(Windows only)
`npm install
node bot.js
node sharder.js
To be able to interact with the bot, it needs to have the following permissions on at least one text channel:
- Read messages
- Write messages
- Embed links
Also, the bot should be permitted to use voice.