The instructions below installs:
Microsoft Windows 7 or later is required
-
Follow the installation steps on docs.chocolatey.org/choco/setup.
-
After installation, run the script below.
choco install nodejs git
-
Follow the installation steps on lukesampson/scoop.
-
After installation, run this scrpt below.
scoop install nodejs git
macOS Mojave (10.14) or later is required
-
Follow the installation steps on brew.sh.
-
After installation, run this script below in a terminal.
brew install node git
Distribution | Command | Package Manager |
---|---|---|
Arch Linux / Manjaro | sudo pacman -S nodejs git |
pacman |
CentOS / RHEL | sudo yum install nodejs git |
yum |
Debian / Ubuntu | sudo apt install nodejs git |
apt |
Fedora | sudo dnf install nodejs git |
dnf |
Gentoo | emerge net-libs/nodejs dev-vcs/git |
portage |
- Open a Terminal (Command Prompt, Terminal.app, etc.)
- Change the current working directory to the location where you want ShrekBots folder to be (git will auto create a folder called
shrek-bot
)
# This command below will change the current directory to the Desktop!
cd Desktop/
- Type the command below
git clone https://github.com/BiizoNinja/shrek-bot.git
- Press the Enter Key to execute the command (Don't close the terminal yet!)
$ git clone https://github.com/BiizoNinja/shrek-bot.git
> Cloning into `shrek-bot`...
> remote: Counting objects: 10, done.
> remote: Compressing objects: 100% (8/8), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (10/10), done.
- Run the command below
# This will change your directory to "shrek-bot" then will install the packages required to run ShrekBot!
cd shrek-bot && npm install
- Replace TOKEN with the bot token you obtained from the Discord Developer Portal
echo "BOT_TOKEN = 'TOKEN'" > .env
- Run the command below to run shrekbot!
node .
After this the bot should be online. If you have any problems feel free to ask in our discord server. Or if you do not want to do all this, we recommend inviting the public version.