lecashbot
lecashbot copied to clipboard
A Discord.js economy bot based on the NitroType currency made with JavaScript.
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
- Fork the repository
- Clone the repository & install required dependencies:
git clone [email protected]: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.
- Create a
.env
in the root directory of the repository. - 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