Core Features:-
Server Connections: Create and manage connections between different Discord servers to facilitate cross-server communication.
Message Relays: Automatically relay messages between connected channels, ensuring seamless communication.
Permissions Management: Ensure only server admins can approve or decline connection requests.
Archive Connections: Archive and review past connections for record-keeping.
Bot Management: List all servers the bot is part of and check its latency.
Expiration Management: Extend the expiration time of connections or make them permanent using the /increase_expire command.
Commands and Usage:-
/connect
Description: Request a connection between your server and another server.
Usage: /connect server_id:<target_server_id>
Example: /connect server_id:123456789012345678
Note: Only administrators can use this command. Both servers must have the bot added.
/disconnect
Description: Disconnect a shared channel between your server and another server.
Usage: /disconnect server_id:<target_server_id>
Example: /disconnect server_id:123456789012345678
Note: Only administrators can use this command.
/status
Description: Check the status of active connections for your server.
Usage: /status
Example: /status
Note: This command can be used by any member.
/archive_connections
Description: Archive all current connections and send a summary of the archived connections.
Usage: /archive_connections
Example: /archive_connections
Note: This command can be used by any member.
/list_servers
Description: List all servers the bot is currently in.
Usage: /list_servers
Example: /list_servers
Note: This command is restricted to the bot owner.
/ping
Description: Check the bot’s latency.
Usage: /ping
Example: /ping
Note: This command can be used by any member.
/help
Description: Display this help menu with descriptions of all commands.
Usage: /help
Example: /help
Note: This command can be used by any member.
/increase_expire
Description: Extend the expiration time of a connection or make it permanent.
Usage:
/increase_expire connection_id: additional_minutes:
Example: /increase_expire connection_id:6797c07a1e19a04dfee30843 additional_minutes:30
Note: This will extend the expiration time by the specified number of minutes.
/increase_expire connection_id: permanent:true
Example: /increase_expire connection_id:6797c07a1e19a04dfee30843 permanent:true
Note: This will make the connection permanent, preventing automatic deletion.
/increase_expire connection_id: permanent:false
Example: /increase_expire connection_id:6797c07a1e19a04dfee30843 permanent:false
Note: This will remove the permanent status and set the connection to expire after 10 minutes.
Note: Only administrators can use this command.
How It Works:-
Creating Connections: Use the /connect command to request a connection to another server. The target server will receive a request which must be approved by an administrator.
Approving/Declining Requests: Only server administrators can approve or decline connection requests. Buttons will be provided to approve or decline the requests.
Relaying Messages: Once a connection is established, messages sent in the shared channels will be relayed between the connected servers.
Archiving Connections: Use the /archive_connections command to archive current connections and get a summary of the archived connections.
Expiration Management: Use the /increase_expire command to extend the expiration of a connection or make it permanent.
Bot Management: Use the /list_servers command to list all servers the bot is currently in (restricted to the bot owner). The /ping command can be used to check the bot’s latency.