Skip to content

Jed556/Apollo

Repository files navigation


discord.js

Discord GitHub release (latest by date including pre-releases) GitHub package.json version GitHub downloads

Apollø is a JavaScript based Discord bot that runs on discord.js and DisTube. This bot is a reworked and improved version of JavaSkripp - from scratch. Apollø supports music, utility, entertainment and moderation commands.

Please credit me after modifying or using the project! :)

Table of Contents

Installation

Warning
I recommend using JSON files for now.
.env files are parsed as strings, causing some of the config values to be interpreted incorrectly.

Windows Host

  • Install Node.js
  • Download latest Apollo.zip release
  • Extract the Apollo-main folder to your desired location
  • Go inside the repository folder Apollo-main
  • Create or fill up a config file from the templates given in the directory you want to install Apollo. All configurations in the JSON files are also in the .env file (will ignore JSON files if .env is present). JSON files must be in <REPO_FOLDER>/config/ while .env must be in <REPO_FOLDER>/
  • Install dependencies npm i
  • Run the program node .

Ubuntu Server

  • Create or fill up a config file from the templates given in the directory you want to install Apollo. All configurations in the JSON files are also in the .env file (will ignore JSON files if .env is present)
  • Simply copy, paste and run the code below to your linux terminal. It automatically handles dependency installation, installation updates, copying of config files, runs the client and sets the global node version to use for future use cases.
curl -s -LO https://raw.githubusercontent.com/Jed556/Apollo/main/__misc__/apollo.sh && chmod u+x apollo.sh && ./apollo.sh && nvm use --lts --silent node
  • Expand ./apollo.sh contents below to see available flags.

apollo.sh

For bash script apollo.sh flags.
Flags can be added with or without dash ( ./apollo.sh -h / ./apollo.sh h ).
Examples of multiple flag declaration formats are: separated ( -h -n / h n ), block ( -hnl / hnl ).

Flag Description
Script related
h Display Help
a Hide Art
n Run script normally (No arguments / Defaults) and execute additional flags
l Use one log file for errors and output
Repository related
s Update Self
c Clone repository
File management related
F Copy configs & manage files
X Clean-up files ( logs | temps | cache )
U Update all dependencies
S Update system dependencies
G Update global dependencies
L Update package dependencies
Y Try to update package dependencies using Yarn
Run related
r Start or restart
t Tail logs

Other Dependencies

These dependencies are required in certain circumstances

  • 24/7 Ubuntu Dependencies

    # Keep alive
    npm i forever surge -g
    # FFMPEG (Audio player)
    sudo apt install ffmpeg
    # Canvas builder
    sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
    # Puppeteer
    sudo apt install -y gconf-service libgbm-dev libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
  • Windows Dependencies

    npm i ffmpeg-static
    

Support

Jed556 Jed556

Issues     Updates     Send Email

About

Cool discord bot

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors