A Discord.js bot based on the NitroType currency.
$register- Make a profile using your NitroType account.$delete- Delete your LeCashBot account.
$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.
$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.
$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.
$report- Get a link for bug report.$suggest- Get a link for feature suggestions.
| 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 |
- Fork the repository
- Clone the repository & install required dependencies:
git clone git@github.com:YOUR_GITHUB_USERNAME/lecashbot.git
yarnNOTE: Testing the application using a database on your own machine will require a localhost MongoDB database setup.
- Create a
.envin the root directory of the repository. - Inside of the
.envfile, 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