Skip to content

A community-driven economy Discord bot, with a goal that is to provide the best economy experience in your Discord Guild.

License

Notifications You must be signed in to change notification settings

Fleco-Development/fleco

Repository files navigation

⚠️ Fleco Proof of Concept

This is a proof of concept for Fleco. designed to work with the latest discord.js version. The changes include a switch to typescript for types, addition of eslint rules, multiple package managers and multiple runtimes (NodeJS & Bun).

I feel it is important that these changes are implemented for a better development expierence and to try to keep the codebase neater. With the multiple runtimes, why not?

This will be updated as time goes on adding on the features of the bot.

More deployment features will also be added.

Delpoyments

Setup DB

First, fill in your db credentials in whatever config file you would like to use:

database:
  host: 127.0.0.1
  user: <user>
  pass: <pwd>
  name: fleco
  port: 5432

Then, execute the command below, replacing <config> with the path to your config.

npm run db:setup -- --config '<config>'

How to Install

NodeJS

NVM Installation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source ~/.bashrc

Node Installation

nvm install --lts --default --latest-npm

Bun

Bun Installation

curl -fsSL https://bun.sh/install | bash

How to run

Bun

bun start:bun -- --config /path/to/config

NPM

npm run start -- --config test_config.yml

PNPM

pnpm run start --config test_config.yml

About

A community-driven economy Discord bot, with a goal that is to provide the best economy experience in your Discord Guild.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks