Installing Red on Mac¶
Installing pre-requirements¶
- Install Brew
- In Finder or Spotlight, search for and open terminal. In the window that will open, paste this:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
and press enter.
- In Finder or Spotlight, search for and open terminal. In the window that will open, paste this:
- After the installation, install the required packages by pasting the commands and pressing enter, one-by-one:
brew install python3 --with-brewed-openssl
brew install git
brew install ffmpeg --with-ffplay
brew install opus
Installing Red¶
Without audio:
pip3 install -U --process-dependency-links red-discordbot
With audio:
pip3 install -U --process-dependency-links red-discordbot[voice]
To install the development version (without audio):
pip3 install -U --process-dependency-links git+https://github.com/Cog-Creators/Red-DiscordBot@V3/develop#egg=red-discordbot
To install the development version (with audio):
pip3 install -U --process-dependency-links git+https://github.com/Cog-Creators/Red-DiscordBot@V3/develop#egg=red-discordbot[voice]
Setting up an instance¶
To set up an instance, run redbot-setup
and follow the steps there, providing the requested information
or accepting the defaults. Keep in mind that the instance name will be the one you use when running the bot, so
make it something you can remember
Running Red¶
Run redbot <your instance name>
and go through the initial setup (it will ask for the token and a prefix).