The Great Clock Bot is a Discord bot designed for XP leveling, role management, custom embeds, global moderation, automated forwarding, shop & economy system, gambling features, and interactive fun commands.
- XP leveling system with customizable base XP and multipliers.
- Automatic role rewards based on level.
- Custom embed creation and multi-server message sending.
- Global ban/kick system across multiple servers.
- Message forwarding & auto-publishing for announcements.
- Economy system (Bolts currency, shop, inventory, gambling).
- Fun features like Death Battles, slot machines, roulette, and fishing system.
/tgc-profile [user]
→ View your or another user's XP, level, and progress./tgc-setxp <user> [xp] [level]
→ Manually set a user’s XP or level./tgc-setbasexp <value>
→ Set the base XP required for leveling up./tgc-setmultiplier <value>
→ Adjust XP scaling multiplier./tgc-setlevelrole <level> <role>
→ Assign a role when users reach a level.
6./tgc-importuserdata
→ Import user XP data from JSON.
/tgc-ban <user> [duration] [reason]
→ Globally ban a user./tgc-kick <user> [reason]
→ Kick a user from all servers./tgc-timeout <user> <duration> [reason]
→ Timeout a user across all servers./tgc-banlist
→ View the global ban list./tgc-unban <user>
→ Unban a user./tgc-lock <channel>
→ Lock or unlock a channel./tgc-openticket
→ Open a support or report ticket./tgc-closeticket
→ Close an active support ticket./tgc-setlogchannel <channel>
→ Set the log channel for moderation actions./tgc-managecommandroles
→ Manage roles that can use restricted commands.
/tgc-createembed
→ Create and send an embed message./tgc-sendmessage
→ Send a normal text message using a modal./tgc-forward <source_id> <target_id> [color]
→ Forward messages from one channel to another./tgc-removeforward <source_id>
→ Remove message forwarding from a channel./tgc-toggleautopublish <channel>
→ Enable/disable auto-publishing in announcement channels.
/tgc-balance
→ Check your current bolts balance./tgc-givecurrency <user> <amount>
→ Give bolts to a user. (Admin only)/tgc-shop
→ Open the shop and browse items.
25./tgc-buy <item>
→ Buy an item from the shop./tgc-inventory
→ View your inventory of purchased items./tgc-additem <name> <price> <category> <description>
→ Add an item to the shop. (Admin only)/tgc-removeitem <item>
→ Remove an item from the shop. (Admin only)
/tgc-slots <amount>
→ Play slot machines and win bolts!/tgc-roulette <amount>
→ Bet on roulette and test your luck!
🎲 Jackpot System: A portion of lost bets goes into a jackpot pool. One lucky player randomly wins the entire jackpot!
-
/tgc-deathbattle <fighter1> <fighter2>
→ Start a real-time death battle between two users!- The winner earns bolts as a reward.
- Includes animated battle updates!
-
/tgc-8ball <question>
→ Ask the magic 8-ball a yes/no question. -
/tgc-fish
→ Casts your rod out to get a fish.
Name | Hex Code |
---|---|
Pink | #eb0062 |
Red | #ff0000 |
Dark Red | #7c1e1e |
Orange | #ff4800 |
Yellow | #ffe500 |
Green | #1aff00 |
Forest Green | #147839 |
Light Blue | #00bdff |
Dark Blue | #356feb |
- Use these when selecting a color in the
/tgc-forward
command:/tgc-forward source_id:123 target_id:456 color:"Dark Blue"
✅ /tgc-profile
✅ /tgc-openticket
✅ /tgc-shop
✅ /tgc-buy
✅ /tgc-inventory
✅ /tgc-balance
✅ /tgc-slots
✅ /tgc-roulette
✅ /tgc-checkjackpot
✅ /tgc-deathbattle
✅ /tgc-8ball
All other commands require permissions set via /tgc-managecommandroles
. (admin only)
- Node.js v16 or higher
- Discord bot token
- SQLite installed
- Clone the repository:
git clone https://github.com/your-repo/TheGreatClock.git cd TheGreatClock
- Install dependencies:
npm install
- Create a
.env
file:TOKEN=your-bot-token CLIENT_ID=your-client-id OWNER_ID=your-discord-id IMGUR_TOKEN=your-imgur-token
- Run the bot:
node index.js
- Adjust XP leveling rates in the
guild_settings
table. - Modify the jackpot payout system in
jackpot_pool
. - Add or remove shop items via
/tgc-additem
and/tgc-removeitem
.
Feel free to submit issues or pull requests. Contributions are welcome!
This project is licensed under the MIT License.
🚀 Enjoy using The Great Clock! Need help? Contact me via GitHub Issues or Discord!