discord server setup bot code example

Example 1: install discord bot on server

sudo apt install npm
sudo apt install npm pm@latest
git clone 
#or upload it via ftp or smb
#cd into folder where the projekt is strored
sudo npm i -g pm2
sudo pm2 start 
sudo pm2 monit
#check if botis running

Example 2: how to make a discord bot

//discord.js is probably the easiest to learn. To install do this
//in command prompt (Windows, Linux) or terminal (Mac)

npm init
//and then
npm i discord.js

//after that just read the discord.js.org documentation
//and follow a couple yt guides, maybe join some servers.

Example 3: how to make disord bot

follow this https://discordpy.readthedocs.io/en/latest/discord.html to make bot account 
use discord api of your laugaungue of choice
discord.py https://discordpy.readthedocs.io/en/latest/index.html
discord.js  https://discord.js.org/#/

Tags:

Misc Example