LockByte is a multi-functional Discord bot designed to provide secure message encoding/decoding, server moderation, and anti-spam management for Discord communities. It combines utility, security, and administrative tools into a single, easy-to-use bot.
1. Message Encoding & Decoding
LockByte includes a custom encryption system that allows users to securely encode messages and decode them. The system works as follows:
- Encode (
/encode
): Takes any text and converts it into a secure, scrambled format. The encoded message is sent directly to the user’s DMs to maintain privacy. Random characters and a shift-based cipher ensure that the message cannot be easily deciphered by others. - Decode (
/decode
): Allows users to revert an encoded message back to its original text. The decoded message is also sent to the user’s DMs. The bot guarantees correct decoding of messages that were encoded using its system.
This functionality is useful for private communication, secret notes, or fun encrypted messages among server members.
2. Anti-Spam & Auto-Moderation
LockByte has a robust anti-spam system that monitors messages in real-time:
- Tracks how frequently users send messages. If a user exceeds the spam threshold, the bot automatically deletes their messages.
- Sends warnings to users who spam, including direct message notifications with the reason and time.
- Automatically applies temporary mutes for repeated offenses, and bans users who reach the maximum warning limit.
- Detects and deletes unauthorized links to prevent advertising and phishing attempts.
Administrators can enable or disable the anti-spam system with simple commands:
/setup
→ Enable anti-spam and warning system./remove_antispam
→ Disable anti-spam system.
3. Warning System
LockByte includes a tiered warning system to help moderators maintain order in their server:
- Warn Users (
/warn
): Moderators can issue warnings with a custom reason. The warned user receives a DM embed with server name, reason, timestamp, and the LockByte logo. - Automatic Mute/Ban: Users accumulate warnings over time. After 5 warnings, the bot applies a temporary mute. After 20 warnings, the user is automatically banned.
- Remove Warnings (
/removewarn
): Administrators can remove warnings from users to manage mistakes or appeals.
This system ensures consistent moderation while keeping transparency and user notifications intact.