A multifunctional Discord bot built with Discord.js featuring economy, moderation, fun, and utility commands.
- Balance Management - Check and manage user balances
- Daily Rewards - Earn coins daily
- Shop System - Purchase badges and perks with coins
- Gambling - Try your luck with gambling commands
- Leaderboard - Compete with other users
- Rob & Give - Transfer coins between users
- Admin Modify - Manage user balances (admin only)
- Profiles - User profile stats and achievements
- Ban - Ban users from the server
- Kick - Remove users from the server
- Timeout - Mute users temporarily
- Warn - Issue warnings to users
- Purge - Delete multiple messages
- Lock/Unlock - Lock and unlock channels
- Nick - Change user nicknames
- Coinflip - Flip a coin
- Jokes - Get random jokes
- Memes - Share meme content
- Nitro - Discord Nitro giveaway simulator
- Temuball - Interactive game
- Easter Eggs - Hidden secrets and surprises
- User Info - Get detailed user information
- Server Info - Display server statistics
- Embed Creator - Create custom embeds
- DM Management - List and delete direct messages
- Polls - Create interactive polls
- Thread Management - Set up thread channels
- Random Events - Trigger random events
- Custom Status - Dynamic bot status
- Node.js (v16 or higher)
- npm or yarn
- A Discord bot token
- Discord Developer Portal application setup
- Clone and install dependencies:
npm install- Create a
.envfile in the root directory:
TOKEN=your_discord_bot_token
CLIENT_ID=your_bot_client_id
- Configure settings in
config.js:
module.exports = {
TOKEN: process.env.TOKEN,
CLIENT_ID: process.env.CLIENT_ID,
LOG_CHANNEL_ID: 'YOUR_LOG_CHANNEL_ID',
ADMIN_ROLE_ID: 'YOUR_ADMIN_ROLE_ID'
};- Start the bot:
npm startFor development with auto-reload:
npm run devalbaidabot/
โโโ .env # You need to add this file yourself.
โโโ index.js # Main bot file
โโโ config.js # Configuration settings
โโโ database.js # Database management (SQLite)
โโโ database.json # User data storage
โโโ package.json # Dependencies
โโโ commands/
โโโ economy/ # Economy commands
โโโ moderation/ # Moderation commands
โโโ fun/ # Fun & entertainment
โโโ tools/ # Utility tools
โโโ utility/ # Utility commands
โโโ extras/ # Extra features
/balance- Check your coin balance/daily- Claim your daily reward/shop- Browse available shop items/buy- Purchase items from the shop/give- Give coins to other users/rob- Attempt to rob another user/gamble- Gamble your coins/profile- View user profile/topusers- Leaderboard/admin-modify- Modify user balance (admin)
/ban- Ban a user/kick- Kick a user/warn- Warn a user/timeout- Timeout/mute a user/purge- Delete multiple messages/lock- Lock a channel/unlock- Unlock a channel/nick- Change user nickname
/coinflip- Flip a coin/joke- Get a random joke/meme- Share a meme/nitro- Nitro giveaway simulator/temuball- Interactive game/sybau- Secret command/commandedefoupsychopathe- Secret command
/userinfo- Get user information/serverinfo- Get server information/embed- Create custom embeds/dmembed- Send embed via DM/send- Send messages/poll- Create a poll/listdm- List DMs/deletedm- Delete DM
The bot uses better-sqlite3 and quick.db for data persistence. User data is stored in database.json and includes:
- User balances
- Badges and achievements
- Preferences
- Warning counts
Edit config.js to customize:
- Bot token
- Client ID
- Admin role ID
- Log channel ID
discord.js- Discord API wrapperbetter-sqlite3- Database managementquick.db- Simple database operationsdotenv- Environment variable managementaxios- HTTP requestsnode-fetch- Fetch API
nodemon- Auto-restart on file changes
- Invite the bot to your server
- Use
/to see available commands - Each command has help text with parameters
- Modify commands in the
commands/folder - Add new commands following the existing structure
- Use
npm run devfor development - Use
npm startfor production
Each command file should export:
module.exports = {
data: new SlashCommandBuilder()
.setName('command_name')
.setDescription('Command description'),
async execute(interaction) {
// Command logic
}
};Current Version: 2.6.1
Created by @fl3x4mc
MIT License - Feel free to use and modify
For issues or feature requests, please open an issue or contact the author.
Happy hosting! ๐