Anegan Documentation
Welcome to Anegan's documentation! Here you'll find detailed information about all commands, features, and server settings to help you manage your Discord server efficiently.
Getting Started
- Add Anegan to your server using the "Invite Anegan" button on the homepage.
- Ensure you have the necessary administrator or moderator permissions to configure the bot.
- Use either slash commands (
/command) or prefix commands (!command) to interact with the bot.
Features Overview
Anegan comes packed with powerful features to enhance your server:
- Auctions: Run server-wide auctions with real-time updates and balance management.
- AutoReactions: Automatically add emoji reactions to media posts to drive engagement.
- Moderation: Manage users easily with kick, ban, mute, whitelist, and link protection tools.
- Reminders: Schedule custom reminders for events, birthdays, and tasks.
- Analytics: Track server activity, command usage, and engagement statistics.
Command Structure
Anegan supports both **prefix commands** (!command) and **slash commands** (/command).
Commands may have optional parameters or subcommands. Use the sidebar navigation to explore commands by category and view detailed usage examples.
Troubleshooting
- If a command does not work, verify that the bot has the correct permissions and role hierarchy in your server settings.
- Check your command syntax carefully; prefix and slash commands differ slightly.
- For persistent issues or to report bugs, join the Anegan Support Server.
Detailed Command Documentation
Auction
The Auction System allows administrators to host auctions and registered users to place bids.
Main Flow:
- Users must register using the
!Registercommand with their initial balance. - Administrators can start an auction using the
!StartAuctioncommand.- Only registered users can participate in the auction.
- Registered users can place bids by just sending in their bid values as numbers.
- Administrators can end the auction at any time using the
!EndAuctioncommand.
-
Registered user checks balance:
Command:
!Balance
Response: "JohnDoe, your balance is 500." -
Unregistered user attempts to check balance:
Command:
!Balance
Response: "You are not registered. Use!Register <balance>to register."
- Only administrators can use this command.
- Only administrators can use this command.
-
Listing participants when some are registered:
Command:
!ListParticipants
Response:
Registered Participants and their balances: @User1: 500 @User2: 300 -
Listing participants when no one is registered:
Command:
!ListParticipants
Response: "No registered participants found in this server."
balance— Initial user balance in cash/coins to bid.
-
Registering with an initial balance:
Command:
!Register 10000
Response: "JohnDoe registered with a balance of 10000." -
Attempting to register when already registered:
Command:
!Register 5000
Response: "You are already registered!"
-
Admin resetting the auction for the server:
Command:
!ResetAuction
Response: "All auction details have been reset for this server."
item_name— Name of the item to be auctioned.starting_bid— Minimum bid amount to start the auction (positive integer).
- Only administrators can use this command.
-
Start an auction for "Blue Pen" with a starting bid of 100:
Command:
!StartAuction Blue Pen, 100
Behavior:
- Starts an auction for the item "Blue Pen"
- Sets the minimum bid to 100
- Announces the auction in the channel -
Invalid starting bid:
Command:
!StartAuction Golden Sword, fifty
Response: "Starting bid must be a positive integer." -
Missing comma in input:
Command:
!StartAuction Blue Pen 100
Response: "Invalid input format. Use: !StartAuction <item_name>, <starting_bid>"
user— Mention the user.
- Only administrators can use this command.
-
Admin unregistering a user:
Command:
!Unregister @JohnDoe
Response: "JohnDoe has been unregistered from the auction." -
Attempting to unregister a user who is not registered:
Command:
!Unregister @JaneDoe
Response: "JaneDoe is not registered."
user— Mention the user.new_balance— The new balance.
-
Updating a user's balance:
Command:
!UpdateBalance @JohnDoe, 5000
Response: "The balance of @JohnDoe has been updated to 5000." -
Invalid input format:
Command:
!UpdateBalance JohnDoe 5000
Response: "Invalid format. Please use the format:!UpdateBalance @user, <new_balance>" -
Invalid user mention:
Command:
!UpdateBalance JohnDoe, 5000
Response: "Invalid user mention. Please mention a valid user."
AutoReactions
The AutoReaction System automatically adds emoji reactions to messages containing attachments. It is particularly useful for meme or media channels where automatic reactions enhance engagement.
Main Flow:
- Admins set up a list of reactions using the
!SetReactionListcommand.- If a channel is specified, reactions are assigned only to that channel (Sub-Reactions).
- If no channel is specified, reactions apply globally across the server (Main-Reactions).
- Admins set the number of reactions to add using the
!SetReactionCountcommand.- Example: If 6 reactions are set up and count is 3, the bot randomly picks 3.
- If 2 reactions are set up and count is 2, the bot adds both in the original order.
channel— The channel where reactions should be disabled (mention as #channel).
- Only administrators can use this command.
-
Disable reactions in #general:
Command:
!DisableReactions #general
Behavior: Adds the channel #general to the disabled list.
- Only administrators can use this command.
-
View all configured reactions:
Command:
!ListReactions
Behavior: Displays the list of emojis and counts configured for the server and specific channels.
count(int) — How many reactions should be added per message.channel(optional) — The channel to assign this count to. If omitted, applies server-wide.
- Only administrators can use this command.
-
Set global reaction count to 3:
Command:
!SetReactionCount 3
Behavior: Bot randomly picks 3 reactions from the main list for media across the server. -
Set reaction count for #general to 2:
Command:
!SetReactionCount 2 #general
Behavior: Bot randomly picks 2 reactions from the list for media in #general.
emoji_count(int) — The total number of emojis you want to set in the list.channel(optional) — The channel to assign these emojis to. If omitted, applies server-wide.
- Only administrators can use this command.
-
Set 5 emojis for the main server list:
Command:
!SetReactionList 5
Behavior: Bot will prompt you to enter 5 emojis to be used server-wide. -
Set 4 emojis for #general:
Command:
!SetReactionList 4 #general
Behavior: Bot will prompt you to enter 4 emojis specifically for the #general channel.
Moderation
This bot offers advanced moderation tools to help you keep your server clean, safe, and free from unwanted links.
Feature Highlights:
- Clear Messages: Quickly bulk-delete messages to clean up chat history.
- Link Moderation: Robust protection against unwanted domains.
Link Moderation Workflow:
By default, this feature is disabled. Here is how to set it up:
- Enable & Configure: Use
!BlockLinksto activate the feature. You can customize actions such as deleting links, timing out users (3 days), and/or logging violations. - Manage Domains: Add unwanted domains using
!BlockDomainor remove them with!UnblockDomain. - Trusted Users: Use
!AddWhitelistto allow specific members to bypass link restrictions. - Review Settings: Check your current configuration with
!ViewLinkModerationSettings.
user— The user to add to the whitelist (mention).
- Only administrators can use this command.
-
Allow a user to post links:
Command:
!AddWhitelist @username
domains— Comma-separated list of domains to block (e.g., discord.gg, spam.com).
- Only administrators can use this command.
-
Block invite links and a spam site:
Command:
!BlockDomain discord.gg, spam.com
- Only administrators can use this command.
count— The number of messages to delete.channel(optional) — The channel to delete messages from. Defaults to current channel.
- Only administrators can use this command.
-
Delete last 10 messages in current channel:
Command:
!Clear 10 -
Delete last 5 messages in #general:
Command:
!Clear 5 #general
- Only administrators can use this command.
- Only administrators can use this command.
user— The user to remove from the whitelist (mention).
- Only administrators can use this command.
-
Revoke link permissions:
Command:
!RemoveWhitelist @username
domains— Comma-separated list of domains to unblock.
- Only administrators can use this command.
-
Allow specific domains:
Command:
!UnblockDomain discord.gg, spam.com
- Only administrators can use this command.
- Only administrators can use this command.
-
Check configuration:
Command:
!ViewLinkModerationSettings
Response:
Link Moderation Settings: Block Links: Enabled Delete Links: Enabled Log Links: Enabled Timeout User: Enabled Blocked Domains: discord.gg, spam.com
Media Transfer
source_channel— The channel from which media needs to be forwarded (must be in the current server).destination_channel_id— The ID of the channel where media needs to be forwarded. (Right-click channel > Copy Channel ID).count(optional) — The number of media items to forward (e.g., last 5 items).
- Only administrators can use this command.
Analytics
As the name says, these commands can perform simple data analytics and provide a detailed table to the admin.
categories— Select between 2 to 10 categories to analyze.days— How many days back to look for activity.min_age_days(optional) — Exclude channels newer than this number of days.sort_by— Sort the final report by a specific metric.
- Only administrators can use this command.
scope— Choose to analyze a "channel" or a "category".days— How many days back to look.min_age_days(optional) — Exclude new channels (used if scope is "category").target_channel— The specific channel to analyze (if scope is "channel").target_category— The specific category to analyze (if scope is "category").sort_by— Sort the category report (if scope is "category").
- Only administrators can use this command.
Thread Manager
message— The message displayed above the button, describing its purpose.mentions_target— A role or member to mention/notify when a user creates a private thread (e.g., Moderators).
- Only administrators can use this command.
Reminders
This category has a suite of commands to setup reminders for different events like birthdays, anniversaries, or other occasions.
Main Flow:
- Use
/reminder addto add someone's birthday or event. - Use
/reminder removeto remove existing events if needed. - Use
/reminder setupto configure the channel, time, and timezone for notifications. - Use
/reminder setadvanceto optionally set an early reminder before the actual event day.
name— Name of the person or organization.date— Date of the event.category(optional) — Type/Category of the event.
- Only administrators can use this command.
group_by(optional) — Group the list by name or by event month.order(optional) — Sort order (ascending or descending).category(optional) — Filter events by type.
- Only administrators can use this command.
name— Name of the event to be removed.
- Only administrators can use this command.
days— Number of days before the event to send a reminder.
- Only administrators can use this command.
- The channel where reminders are sent.
- The time at which reminders are sent.
- The timezone used to determine the send time.
- Only administrators can use this command.
- Only administrators can use this command.