DISCORD BOT PROJECT

ADMIN
BOT

Admin Bot is an advanced Discord bot built for moderation, automatic logs, reaction roles, user reports, and invite tracking. It combines security, admin convenience, and a clear punishment management system.

18+

Ready slash commands

3

Separate log channels: admin, warns, bans

Auto

Automatic unbans and invite tracking

JSON

Persistent warns, bans, and reaction roles storage

FEATURES

Key Features

Based on the code, the bot handles full moderation, embed communication, public reports, and automatic server events.

🛡️

Advanced moderation

Timeout, untimeout, kick, temporary ban, permanent ban, unban, warns, clear warns, purge, lock, unlock, and slowmode.

📩

Embeds and messages

The /say command sends an embed through a form to a selected channel, and /sent sends an embed in DM to a selected user.

🎭

Reaction Role

The bot creates a reaction message where users receive a role when reacting, and lose it when removing the reaction.

📣

Public reports

The /skarga command lets users report someone with a description and up to 3 pieces of evidence: image, audio, or video.

📜

Separate moderation logs

Administrative actions are saved in dedicated log channels: admin, warns, and bans, making moderator activity easier to track.

✈️

Joins, leaves, and invites

The bot sends messages when users join or leave and tries to detect who invited a new member.

OVERVIEW

What exactly the bot includes

Specific features derived directly from the code.

• Gives and removes timeouts A moderator or admin can mute a user for a specific number of minutes and remove the punishment later.
• Bans temporarily or permanently The bot supports bans for 30m, 1h, 1d, 7d, or perm, and temporary bans are automatically removed when they expire.
• Kicks users from the server The kick command instantly removes a user from the server with an optional reason.
• Gives warns and stores warn history A warn can be temporary or permanent, and administrators can view the warning list or clear it with a single command.
• Clears messages in channels The purge command removes up to 100 messages at once, which speeds up moderation and channel cleanup.
• Locks and unlocks channels Lock and unlock change channel permissions for @everyone, making it easy to quickly close or reopen chat.
• Sets slowmode The bot limits how often users can send messages to reduce spam and keep conversations more organized.
• Sends embeds to channels The /say command opens a form to create an embed with title, description, footer, HEX color, image, and thumbnail.
• Sends embeds in private messages The /sent command can send an embed in DM to a chosen user, even multiple times from 1 to 20.
• Assigns roles through reactions Reaction roles automatically add or remove a role when a user adds or removes the selected reaction.

COMMANDS

Command List

Split into moderation and admin / community commands.

Moderation

/timeoutGives a timeout for a selected number of minutes.
/untimeoutRemoves a user's timeout.
/kickKicks a user from the server.
/banBans temporarily or permanently.
/unbanUnbans a user by ID.
/warnAdds a warn with reason and duration.
/warningsShows saved warns for a user.
/clearwarningsClears all warnings.
/purgeDeletes up to 100 messages.
/lockLocks channel messaging.
/unlockUnlocks channel messaging.
/slowmodeSets a channel message rate limit.

Administration and community

/saySends a professional embed through a form.
/sentSends an embed in DM to a selected user.
/reactionroleCreates a reaction role message.
/skargaAdds a public report with evidence.
/userinfoShows info about a user and their punishments.
/serverinfoShows server information.
/pingChecks if the bot is currently working.

ABOUT BOT

How the bot works

This is not a simple bot — it includes persistent data storage, automatic actions, and advanced moderation.

Technical base

  • Discord.js v14
  • Slash commands with auto deploy
  • Modal form support
  • JSON data storage
  • Automatic invite cache refresh
  • Auto unban running on interval

Security system

  • Separate roles: admin and timeout moderator
  • Protection against actions on Discord administrators
  • Attachment type validation for reports
  • Bot permission checks for reaction roles
  • Logging important moderation actions
  • Handling modal expiration and temporary tokens