Docs/Home

๐Ÿ  Introduction

Introduction

Welcome to the official documentation of Security Bot, a multi-purpose Discord bot built with Discord.js v14 that combines moderation, music, tickets, economy, leveling, giveaways, and a full web dashboard.

This guide covers every command, every feature, and the trickier parts of the bot โ€” including the complete music player, the ticket system, the Premium features, the web dashboard, and the owner tools.


What makes Security Bot different

  • 97+ global slash commands โ€” every feature is a native Discord slash command. No prefixes, no conflicts.
  • One consolidated /music command โ€” the 16 music commands (play, queue, filters, volume...) are deployed as a single top-level command with 16 subcommands, which keeps the bot under Discord's 100-command limit while preserving every feature.
  • Full web dashboard โ€” control the bot from your browser: live music player, ticket manager, server overview, Premium management.
  • Music that survives restarts โ€” the currently playing track and the queue are persisted to a database and automatically restored when the bot restarts.
  • Live search suggestions โ€” when you type a song in /music play, the bot shows real YouTube suggestions as you type.
  • SQLite database โ€” all data (warnings, economy, leveling, tickets, giveaways, premium subscriptions, playlists, AFK statuses, reminders, and much more) is stored locally in a single robust database.
  • Modular command folders โ€” commands are organized in base, mod, premium, and owner folders; new commands are auto-discovered and registered on startup.

Feature highlights

CategoryFeatures
ModerationKick, ban, unban, timeout, untimeout, warn system with auto-ban threshold, bulk clear, lock/unlock, channel access control, mass role management, voice move, nickname management, mod stats, anti-raid trap channel, verification, age verification, assistance requests
MusicSearch & play from YouTube, play next, queue management, skip, stop, pause, resume, volume (0โ€“200%), loop modes, 7 audio filters, shuffle, autoplay, 24/7 mode, lyrics, equalizer, saved playlists, radio, live dashboard
TicketsMulti-panel ticket system (up to 3 panels per server), DM-based setup wizard, claim/unclaim, transcripts, log channel
EconomyWallets, daily rewards with streaks, work, rob, leaderboards
LevelingXP per message, level cards, leaderboards, role rewards, XP boost events
GiveawaysNormal, scheduled (recurring), and reaction-goal giveaways with reroll
Server toolsEmbed sender, polls, counters, temp-voice "join to create" channels, role panels, welcome messages with custom Canvas images, auto-roles, suggestions, partnerships, anonymous confessions, community logging
Fun & utility8-ball, hangman, wordle, tic-tac-toe, rock-paper-scissors, dice, ship compatibility, reaction GIFs, memes, facts, quotes, emojify, translate, reminders, AFK, snipe, file sharing
PremiumCustom commands, music 24/7, equalizer, lyrics, playlists, radio, role rainbow, server clone, slowmode, boost rewards, birthdays, autopublish, stream notifications, tags, auto-threads, welcome templates, MOTD, activity tracking, exports, emoji manager, security audit, backups
DashboardDiscord OAuth login, per-server control panel, live music workspace, ticket management, premium pages

Bot identity

  • Every embed is signed with the footer danidema.xyz โ€ข <version>.
  • The version is read from the BOT_VERSION environment variable (default v5.0).
  • The bot's creator is danidema.xyz (/owner command).
  • The public website (login for the dashboard) is securitybot.k1wi.xyz.

Technology stack

ComponentTechnology
RuntimeNode.js
Discord librarydiscord.js v14
DatabaseSQLite (better-sqlite3)
Music extractionyt-dlp (kept up to date automatically)
Web serverExpress (dashboard + API + transcripts)
AuthDiscord OAuth2
PaymentsStripe (Premium purchases)

Documentation map

  • Getting Started โ€” how to invite the bot, required permissions, first steps.
  • Commands Reference โ€” the full list of every command, subcommand, and option.
  • Music System โ€” the complete music player reference, including the tricky details (filters, loop modes, autoplay, persistence, 24/7).
  • Ticket System โ€” panels, the setup wizard, claiming, transcripts.
  • Moderation Commands โ€” warnings, bans, clear, lock, and every moderation tool.
  • Server Tools โ€” embed, polls, counters, temp-voice, role panels, welcome system, and more.
  • Fun & Utility Commands โ€” economy, games, file sharing, API keys, and everything fun.
  • Premium Features โ€” what Premium unlocks and how to use each feature.
  • Web Dashboard โ€” login, pages, and the live music workspace.
  • Owner Tools โ€” maintenance, blacklist, error logs, and global settings.
  • FAQ & Troubleshooting โ€” common issues and their fixes.