π¦ Installation
Install the latest version via npm install:Authentication
Pass any supported credential asapiToken or token:
Starting a Single Bot
Get started with a single bot using your FNLB API token. Learn more:Running Multiple Bots (Same Shard)
Run multiple bots in a single subprocess using thebotsPerShard option:
Using Multiple Shards (Subprocesses)
Scale even more by spawning multiple shards (subprocesses) with multiple bots each:Total bots:
In this example: 2 Γ 10 = 20 bots max
numberOfShards Γ botsPerShardIn this example: 2 Γ 10 = 20 bots max
Launching Bots Across Multiple Categories
Want to run bots from different FNLB categories? Just add them to thecategories array:
Starting Specific Bots by ID
Run exact bots without filtering by category using thebots array. Get bot IDs from your botβs page on app.fnlb.net/bots.
bots list β the gateway distributes IDs across shards with no duplicates. You can combine bots and categories to narrow selection further.
Omit categories (or pass []) to allow bots from any category. When categories is set, bots without a category are still included.
Stopping All Bots
Shut everything down cleanly using thestop() method:
Naming Your Cluster
Customize your cluster with a unique name using theclusterName option:
Auto-Restart Every Hour (Optional)
Want to keep things fresh? Hereβs how to restart your bots automatically every hour:π Useful Links
- π FNLB Website
- π FNLB Documentation
- π FNLB Changelog
- π¨οΈ FNLB Discord Server
π¨οΈ Join the Community
Need help, support, or just want to chat with other developers? Come hang out with us on Discord! πJoin Discord
Get help, support, or chat with other developers

