Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

1.6KB


title: Linux Installation description: Guide to installing Roxbot on Linux. authors:

- Roxanne Gibson

Linux Installation

Requirements:

Optional Requirements:

  • Imgur API client ID (for Reddit cog. Create a application to gain access to the Imgur API here)
  • ffmpeg (for Voice cog [music bot])
  • libopus (for Voice cog [music bot])

If you don’t meet the requirements for a cog, be sure to comment out that cog in the roxbot/__init__.py file.

  1. Clone Roxbot to your system

    $  git clone https://github.com/roxxers/roxbot.git
    $  cd roxbot/
    
  2. Create a venv for Roxbot

    $  python3 -m venv ./env
    $  source env/bin/activate      # For bash and zsh users
    $  source env/bin/activate.fish # For fish users
    
  3. Install Python dependencies

    $  python3 -m pip install -r requirements.txt
    
  4. Edit Roxbot’s config to add your bot accounts token (and Imgur api token if you plan to use the Reddit cog) to the config, and also edit some other config settings. Then rename it so that Roxbot will be able to read it.

    $  nano roxbot/settings/roxbot_example.conf
    $  mv roxbot/settings/roxbot_example.conf roxbot/settings/roxbot.conf
    
  5. Run Roxbot and she should setup everything if you haven’t run her before.

    $  ./roxbot.py