Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

Zn10plays/PJS

Repository files navigation

PJS

A discord bot for PrismarineJS

Running

Production

Using Docker is recommended for production

docker run
docker build -t prismarinejs/discord https://github.com/Zn10plays/PJS
docker run -e TOKEN=123 prismarinejs/discord
docker-compose.yml
version: "3.8"

# Tip: Since this does not store any data, you don't have to add volumes

services:
  pjs:
    image: dada513/pjs-bot
    environment:
      - TOKEN=replace_this
      - PREFIX=$pjs
      - OWNER=discord_id
      - INVITE=https://discord.gg/bcsU8wX8KX
      - STATUS=PrismarineJS

file is located here

Without Docker

You need node.js and yarn or npm.

git clone https://github.com/Zn10plays/PJS
cd PJS

### If using yarn

yarn
yarn run build
yarn start

### If using npm
npm install
npm run build
npm start

Development

git clone https://github.com/Zn10plays/PJS
cd PJS
yarn
yarn dev

Configuration

Use a bot.json file

{
  "token": "123"
}

OR you can use enviroment variables:

TOKEN="123"

You can also provide the arguments on the command line:

node dist/index.js --token 123

About

A discord bot for PrismarineJS0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published