Skip to content

AZ Atlas ​

All-in-one Discord bot by AzStudio. Moderation with automod and antinuke, real invite tracking with rank roles, economy with levels, welcome messages, tickets, giveaways, music (YouTube search, radios and playlists through Lavalink) and a built-in web dashboard — all in one package, in five languages (fr, en, es, de, pt).

The shipped bundle is readable Node.js source — plain install, no gate, no database. One bot token in .env; everything else is configured inside Discord with slash commands or from the dashboard. Music is the only part that uses a second process: the Lavalink node that ships pre-configured.

What you received ​

AZ Atlas/
├── index.js                # entry point — boots src/bot.js
├── src/
│   ├── bot.js              # client setup, intents, module loading, ready handler
│   ├── modules/            # 20 modules (one folder each)
│   ├── core/               # loader, store, i18n, scheduler, permissions, embeds
│   └── dashboard/          # zero-dependency node:http web dashboard
├── lavalink/               # Lavalink node: application.yml, start script, README
├── locales/                # fr, en, es, de, pt
├── test/                   # unit tests (node:test, no Discord needed)
├── scripts/check.js        # static check: modules load, locales parse, command JSON
├── README.md
├── NOTICE                  # upstream attribution (MIT)
├── .env.example
└── package.json

Requirements ​

  • Node.js 20 or newer
  • A Discord application token (DISCORD_TOKEN in .env)
  • One Discord server you administer
  • For music only: Java 17+ and the Lavalink node in lavalink/

No database, no Redis. Skip the Lavalink step (or set LAVALINK_DISABLED=1) and every other module runs unchanged.

Install ​

bash
npm install
cp .env.example .env   # set DISCORD_TOKEN (required)
npm start

The bundle is self-contained — no license server, no account, no activation. npm run dry-run loads every module and builds the slash commands without connecting to Discord (works without a token; it is the supported way to check the bundle in CI).

Useful extras:

bash
npm run check    # static checks (locales parse, modules load, command JSON is valid)
npm test         # unit tests
npm run dry-run  # builds all 84 slash commands without logging in

Music runs on a Lavalink node — the standard audio server for Discord bots. A ready configuration ships in lavalink/; you only supply Java 17+ and start it.

bash
cd lavalink
./start-lavalink.sh     # downloads Lavalink.jar on first run, then starts the node

Wait for this line before starting the bot:

Lavalink is ready to accept connections.

The bot then connects to 127.0.0.1:2333 on boot ([music] Lavalink node "az-atlas-local" connected).

SettingDefaultNotes
LAVALINK_HOST127.0.0.1Host of the node
LAVALINK_PORT2333Must match server.port in application.yml
LAVALINK_PASSWORDdev value in application.ymlMust match lavalink.server.password
LAVALINK_DISABLEDempty1 = no music module, no node needed

In Discord: /play <song title> searches YouTube, /play <url> loads a video or playlist, /radio lists built-in stations. The same commands work as dot commands — .play, .next, .stop, .pause, .resume, .queue, .nowplaying, .volume, .loop, .seek, .radio.

Keep the node private

Anyone who can reach port 2333 with the password can play audio through your bot. Change the password in lavalink/application.yml before exposing the node and firewall the port to the bot's host only.

What's inside ​

20 modules, 84 headline commands. /help lists them, grouped by area.

AreaWhat it ships
Setup & info/setup /config /botinfo /ping /help
Moderation/ban /kick /timeout /warn /purge /case /slowmode /lock /mod (warnings, clearwarns, nick, softban, massban, warnconfig, untimeout, unlock) · /voice
Protection/antinuke (/panic /whitelist) · /antiraid (/raidmode /lockdown) · automod (badwords / links / spam, per-filter actions)
Invites/invites — show, leaderboard, enable, disable, ranks, addrank, removerank, add, reset, import (seeds from live invite counts) · /info invites
Economy/eco (daily weekly work rob beg inventory richest config) · /shop · /balance · /pay · /bank · /gamble
Levels/rank /leaderboard /levels (MEE6-style curve, role rewards)
Community/suggest /suggestion · /starboard · /birthday · /afk · /tag · /tempvoice · /community (sticky, autoresponder, stats channels)
Tickets/ticket — panel, claim/reopen, transcript
Giveaways/giveaway — button entry, requirements, re-roll
Music/play /search /playnext /radio /skip /seek /volume /queue /stop /lyrics — YouTube search with pick-a-result menu, radios, URLs & playlists via Lavalink; dot commands .play .next .stop .search .playnext .shuffle
Playlist`/playlist save
Welcome/welcome /goodbye (/welcome message, /welcome test) — with {inviter} / {invites} variables
Utility/info /poll /remind /snipe /say /embed /github /urban /bigemoji
Fun/fun · /game · /8ball · /dice
Logs & backup/logs · /backup
Roles/role /rolemenu (self-roles with menus)
Verification/verification

Configuration ​

  1. .env holds only secrets & host settings: DISCORD_TOKEN, GUILD_ID (optional: instant per-guild command registration instead of global), OWNER_IDS (comma-separated Discord IDs), DEFAULT_LANGUAGE, DATA_DIR, LOG_LEVEL, DASHBOARD_PORT, DASHBOARD_URL, DASHBOARD_SECRET, PRESENCES (playing|on {servers} servers — rotating presence).
  2. Everything else lives in Discord: run /setup for the guided path, or /config for per-area toggles, or open the web dashboard (/dashboard).

The web dashboard is optional — set DASHBOARD_PORT and it starts on the next boot. Auth uses the in-Discord /dashboard link (single-use, works out of the box) or Discord OAuth2 (set DISCORD_CLIENT_SECRET). Without either, the bot works fine — just without the page.

Key gotchas ​

  • /invites import seeds invite counts from the server's live invite totals — run it before /invites enable if you want existing counts to count. After enable, joins are credited going forward.
  • {inviter} / {invites} in /welcome templates read invite data — make sure Invite tracking is enabled and a member record exists for the joiner, or you get the fallback, not an error.
  • Music needs the Lavalink node. cd lavalink && ./start-lavalink.sh (first run downloads the jar) and wait for Lavalink is ready to accept connections. before starting the bot; it connects to 127.0.0.1:2333 by default. Keep port 2333 private and change lavalink.server.password before exposing it — anyone who reaches the node can play audio through your bot. There is no Spotify integration; /play searches YouTube.
  • Unobfuscated, MIT-licensed. Do not strip NOTICE — it is the attribution record for the open-source projects the product is built on.
  • Small dependency tree — discord.js, dotenv, lavalink-client. No ffmpeg, no @discordjs/voice: audio decoding is the Lavalink node's job.

Support ​

Discord: https://discord.gg/MwjpYSA5jg — setup help, bug reports.

Released under the AzStudio license. All products are available on BuiltByBit and Modrinth.