/clear
Bulk delete messages from a channel with optional user filtering.Number of messages to delete (1-100)
Only delete messages from this specific user
Message Archival
All cleared messages are automatically archived before deletion:C1234567890) for uniqueness.
Behavior
Example Usage
/archives
View archived messages from previous clear/purge operations.Specific Action ID to view (e.g., C1234567890)
Pagination System
Displays 5 messages per page with navigation buttons:Displayed Information
For each archived message:- Author tag and user mention
- Message content (truncated to 100 characters if longer)
- Number of attachments
- Number of embeds
- Original channel
- Original timestamp
- Purge date and executor
- Action ID
Navigation Buttons
⏮️ First
Jump to first page
◀️ Previous
Go back one page
Next ▶️
Go forward one page
Last ⏭️
Jump to last page
Example Implementation
Archives are displayed as ephemeral messages (only visible to the command user) to maintain privacy.
/slowmode
Set channel rate limiting (slowmode) to control message frequency.Slowmode duration in seconds (0-21600)Set to 0 to disable slowmode
Reason for enabling/disabling slowmode (defaults to “Maintaining sacred order”)
Duration Limits
- Minimum: 0 seconds (disabled)
- Maximum: 21,600 seconds (6 hours)
- Only works in guild text channels
Implementation
Example Usage
Visual Feedback
The response embed changes based on the action:- Enabled
- Disabled
- Color: Gold (#FFD700)
- Title: ⛈️ RESTRAINT IMPOSED
- Description: Shows channel and duration
- Wisdom: “Patience brings wisdom, and wisdom brings understanding”
Slowmode applies to all users except those with Manage Channel or Manage Messages permissions.
/sins
View moderation history and records for users or the entire server.The user whose moderation records to view (omit for global server history)
Display Modes
User-Specific History
Shows all moderation actions for a specific user:- Ban records (B#)
- Kick records (K#)
- Timeout records (T#)
- Warning records (W#)
- Clear action records (C#)
- Action type and ID
- Timestamp
- Moderator who executed the action
- Reason provided
Global Server History
Shows recent moderation actions across the entire server (paginated):- Last 10 actions by default
- Includes all moderation types
- Sorted by most recent first
- Interactive pagination with Next/Previous buttons
Clean Record Response
If a user has no moderation history:- Green embed color
- “Clean slate” message
- Encourages others to follow their example
All moderation actions are automatically logged to the sins database with unique Action IDs for easy reference and reversal via
/removesin./help
Display an interactive paginated guide to all bot commands. No parameters requiredFeatures
-
5 pages organized by permission level and category
- Page 1: Admin Commands (ALTERMINISTRATOR)
- Page 2: Moderator Commands
- Page 3-5: Basic Commands (split across 3 pages)
-
Interactive Navigation:
- ⏮️ First (jump to Admin page)
- ◀️ Previous
- Next ▶️
- ⏭️ Last (jump to Basic 3 page)
- 5-minute timeout - buttons disable after 5 minutes of inactivity
Command Format
Each command is displayed with:- Command syntax with parameters
- Brief description
- Permission level indicator
Only the user who invoked
/help can use the navigation buttons. Others attempting to click will receive an ephemeral error message./info
Display bot information including version, uptime, and latest GitHub commit. No parameters requiredDisplayed Information
- Bot Name: Aphonos
- Bot Description: Divine enforcer of Alteruism
-
Latest Commit:
- Commit SHA (7 characters)
- Commit message (first line)
- Commit date and time
- GitHub link to commit
-
Technology Stack:
- Discord.js v14
- Node.js runtime
- TypeScript
-
Links:
- GitHub Repository
- Server Invite
- Support resources
The info command fetches live data from the GitHub API to always show the most recent commit information.