Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
/ lecashbot Public archive

A Discord.js economy bot based on the NitroType currency made with JavaScript.

License

Notifications You must be signed in to change notification settings

TheTypingMatch/lecashbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeCashBot

A Discord.js bot based on the NitroType currency.

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.

Prerequisites

Name Installation Documentation
Node.js nodejs.org/en/download nodejs.org/en/docs
MongoDB docs.mongodb.com/manual/installation docs.mongodb.com
Discord.js yarn add discord.js discord.js.org/#/docs

Contributing

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

Setup

NOTE: Testing the application using a database on your own machine will require a localhost MongoDB database setup.

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

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

yarn start