/lecashbot

A Discord.js bot based on the NitroType currency.

Primary LanguageTypeScript



A Discord.js bot based on the NitroType currency.

Commands - Contribute - Contributors

Commands

Register

  • $register - Make a profile using your NitroType account.
  • $delete - Delete your LeCashBot account.

Guides

  • $invite - Invite the bot.
  • $info - Important bot information.
  • $stats - Show the bot servers/users and latency.
  • $uptime - Show the bot uptime.
  • $faq - Display frequently asked questions.
  • $ping - Show bot latency.
  • $donate - Display donators.
  • $contributors - Display contributors.

Economy

  • $bal - View yours or another user's balance.
  • $give - Gift someone cash from your balance.
  • $daily - Collect a daily bonus of cash based on your daily streak.
  • $total - View the amount of cash there exists in the economy.
  • $profile - View yours or another user's profile.
  • $withdraw - Withdraw at least $100K from your LeCashBot account to your NitroType account.
  • $leaderboard - View the wealthiest of all LeCashBot users.

Games

  • $bet - Play roulette for a chance to win cash.
  • $coinflip - Earn cash based on a coin flip streak.
  • $lottery - Enter a daily/weekly/monthly lottery for a chance to win the jackpot.

Miscellaneous

  • $report - Get a link for bug report.
  • $suggest - Get a link for feature suggestions.

Contribute

  1. Fork the repository
  2. Clone the repository & install required dependencies:
$ git clone git@github.com:YOUR_GITHUB_USERNAME/lecashbot.git
$ yarn install

Local Bot Development Setup
Testing the application using a database on your own machine will require a localhost database setup:

  1. Create a .env in the root directory of the repository.
  2. Inside of the .env file, include the following:
TOKEN="<token>"
URI="<uri>"

Replace <uri> and <token> with your MongoDB database connection URI and bot token.

Running The Bot

yarn build
yarn dev:server

...or alternatively:

cd scripts
sh start.sh

...or on Windows:

cd scripts
./start

Making Changes

yarn dev:lint
yarn dev:test
git status
git add .
git commit -m "COMMIT MESSAGE HERE"
git push

Prerequisites

The Team

Le-SirH DamienVesper Techy Dapp3rDuck
Project Manager Developer Developer Developer

Contributors

iwa valkyrienyanko Ray-Adams TheProdigyHenry zaidothePotato mcglasses02
Contributor Contributor Contributor Tester Tester Tester