Evilcurtador Bot Overview
The Evilcurtador Bot is an interactive tool developed for the Discord platform, primarily designed to allow users to register their API tokens and shorten URLs easily and securely. The bot interacts with server members through two main commands:
-
/register-token command: This command allows users to register their personal API token. The bot validates the token against a database (MongoDB) and, if valid, stores it linked to the user’s Discord ID. The success or error message is sent privately to the user, ensuring the security of their information.
-
/shorten-link command: With this command, users can provide a URL and, using their registered token, the bot shortens the URL by interacting with an external URL shortening API. The shortened link is returned privately to the user for personal use.
- Token validation and storage: The bot allows users to register and validate their tokens for use with other API commands.
- URL shortening: Users can shorten URLs quickly and easily using their registered tokens.
- Privacy: Responses to commands are sent privately to the user who invoked the bot, ensuring that their token and shortened URLs are not visible to others in the server.
- MongoDB Database: The bot uses MongoDB to store user information, including tokens and shortened URLs.
- Integration with Evilcurtador website: The bot interacts with the Evilcurtador website, a URL shortening service, providing users an efficient and secure way to shorten URLs. The website also offers an additional interface for managing shortened URLs outside of Discord.
- Discord.js: The main library for interacting with the Discord API.
- MongoDB: A NoSQL database used to store user information and tokens.
- Axios: A library for making HTTP requests, especially for interacting with the URL shortening API.
- Evilcurtador.com.br: The URL shortening service website, integrated with the bot for efficient URL management.
The Evilcurtador Bot is ideal for servers that want to provide private and secure URL shortening features, ensuring that only the user who invokes the command can access their responses and information. It also complements the user experience with the Evilcurtador website, allowing users to manage their shortened URLs both within Discord and through a web interface.