Giter Club home page Giter Club logo

discord-bot-ufo's Introduction

discord-bot-ufo

A Discord BOT named 機器幽浮 maintained by jonz94

Setup

Prerequisites

Getting Started

Clone this repository:

git clone https://github.com/jonz94/discord-bot-ufo.git

Change to the root directory of the project:

cd discord-bot-ufo

Install all dependencies:

bun i

Setup .env and .env.dev:

bun run setup

Then, edit .env and .env.dev environment files respectively

  • .env is for production environment
  • .env.dev is for development environment

Launch the development BOT locally (using .env.dev configuration):

bun start

Run test:

bun run test

Build and launch the production BOT locally (using .env configuration):

bun run build
bun run preview

Release

Prerequisites

Instructions

  1. Bump version
bun run release
  1. Push commits with tags
git push --follow-tags
  1. GitHub Actions will be triggered and it will build the Docker Image for us

Production

Using the following docker run command:

docker run --name="discord-bot-ufo" -d \
  --restart=unless-stopped \
  -v "$(pwd)/.env:/app/.env" \
  jonz94/discord-bot-ufo

License

See LICENSE.

Credits

discord-bot-ufo's People

Contributors

jonz94 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.