
Features and Support
Any Platform Support
DSCloud sets itself apart by offering support for a wide range of popular platforms such as Discord, Telegram, WhatsApp, Guilded, Slack, Messenger, Facebook, and Twitch. This platform diversity allows developers to choose the one that best fits their target audience’s needs, maximizing the reach and effectiveness of each bot. The flexibility offered by DSCloud enables the creation of bots capable of interacting with users across various platforms, enhancing the accessibility and usefulness of your project.
Advanced Music Support
DSCloud enhances the musical experience of bots by supporting ffmpeg and Lavalink. This combination enables the creation of engaging music bots capable of playing music directly on the server. ffmpeg is already provided by default on DSCloud, making it easy to implement musical features in your bots.This addition, coupled with the ability to support various music sources and formats, provides a rich and immersive experience for users. DSShield ensures continuous availability of your bot, providing uninterrupted access to desired music. This functionality extends beyond music playback, allowing for meaningful interactions and enhancing the overall user experience.
Efficient Local Database
The file system of DSCloud is designed to be fast and reliable, enabling efficient use of local databases. With this feature, it’s possible to store large volumes of data directly in the bot, eliminating the need for external database services.This approach simplifies the development process, making the bot more efficient and reliable when handling large data sets. Additionally, DSCloud supports complex queries, enabling effective manipulation of locally stored data.
Dynamic Hosting
DSCloud offers a dynamic and intelligent bot hosting service with a wide range of public IP addresses. This approach ensures quick adaptation to changes in network conditions, keeping the bot online and available at all times. The variety of IP addresses enables the bot to connect to servers anywhere in the world.With DSCloud, it’s possible to create truly dynamic and resilient bots capable of quickly adapting to different situations. The platform also provides automatic scalability, dynamically adjusting resources according to demand, ensuring consistent performance even during usage peaks.
Optimized Bot Latency
The strategic location of DSCloud in Frankfurt, Germany, provides exceptional connectivity for bots. With an average ping of only 20ms, DSCloud ensures fast and efficient communication.This enables quick responses from bots, providing a smooth and delay-free user experience, regardless of the user’s location. This optimization is particularly crucial for gaming and music bots, where latency can significantly impact the user experience.
Advanced Security
DSShield provides an additional layer of security, creating a secure environment for bot users. Preventive systems ensure that bots hosted on DSCloud do not exceed API request limits.Additionally, real-time monitoring keeps the application active and functioning excellently. With DSCloud, you can trust the security of your bot, allowing you to focus on enhancing the project without worries about security issues. The platform also supports multi-factor authentication, providing additional protection against unauthorized access.
Automatic Deployment via Git
DSCloud offers the ability to manage automatic deployments of your application, with support for integration with GitHub and GitLab via Webhooks. This functionality simplifies the process of updating the bot, allowing developers to focus on programming while DSCloud handles the deployment process.Details on the configuration are available here. After following the steps correctly, simply commit to your repository to update your application on DSCloud. Recent deployments can be viewed in the Deploy tab of the dashboard. If you have any questions, feel free to contact us.
Premium Routes
DSCloud stands out in the market by offering a network with premium routes to key communication hubs, such as WhatsApp, Telegram, and Discord. This ensures efficient and high-quality communication for your application, regardless of the preferred platform of your users.These premium routes guarantee that your application has the best possible connectivity, minimizing latency and maximizing data transmission speed. This is especially important for applications that rely on real-time communication, such as chat bots.Furthermore, by supporting a variety of popular platforms, DSCloud allows you to reach your target audience where they are most comfortable. This can lead to higher user adoption and a better user experience.In summary, DSCloud’s premium routes for communication hubs like WhatsApp, Telegram, and Discord allow you to provide your users with a high-quality app experience, regardless of the platform they choose to use.
Supported Languages
DSCloud caters to a diverse range of programming languages, empowering developers to choose the most suitable technology for their projects. Here’s a brief overview of the main supported languages:Node.js
Ideal for dynamic web development.
Python
Widely used in AI, automation, and web development.
Java
Portable and efficient for enterprise applications.
How to Host My Bot on DSCloud?
Configuration File
The first step to host your bot on DSCloud is to create a detailed configuration file. This file is not just a simple text document but a comprehensive guide that defines the settings for the application on DSCloud. It functions as an architectural plan for your project on the platform.Once the plan is acquired, you need to create this file, detailing each configuration and filling it out correctly. Details on how to create this file are available here, with a step-by-step guide.
ZIP File Creation
With the configuration file ready, the next step is to prepare your application for upload. This involves placing the application files and the DSCloud configuration file inside a .zip file.However, not all files need to be included in this .zip. Files such as
node_modules, package-lock.json, pyproject.toml, and poetry.lock are not necessary, as they can be generated automatically on the server side. A list of files that do not need to be uploaded is available here, helping ensure that only necessary files are in the .zip, making the upload process faster and smoother.Dependencies File
Another crucial aspect is to include the dependencies file in the .zip. This file informs the DSCloud platform which dependencies to install for your project. For a Node.js project, this file is the
package.json, and for a Python project, it’s the requirements.txt.These files list the libraries and packages required for the correct operation of the application. Keeping these files up-to-date is crucial to avoid installation errors. Additionally, it’s important to note that native dependencies, such as node-fetch in Node.js and random in Python, should not be included in these files, as they are native libraries.Bot Upload
After following all the steps and configuring your project for DSCloud, it’s time to upload your bot. Go to the DS Cloud Discord server and use the command
/up in the channel #commands.The bot will ask you to upload your .zip file. Make sure your project folder is zipped, then drag and drop the .zip file into the response field to deploy your application.Common Errors During Application Deployment
INVALID_DEPENDENCY
INVALID_DEPENDENCY
FEW_MEMORY
FEW_MEMORY
This error happens when the RAM allocation in your configuration file is either incorrectly set, exceeds the available limit, or is below the minimum requirement. For bots, the minimum required RAM is 256MB.
INVALID_MAIN
INVALID_MAIN
This error occurs when the file specified as the “main” entry point in your configuration file is missing, incorrectly named, or has an invalid path. If your main file is inside a folder, ensure the path is correctly specified, e.g.,
folder/file.js.MISSING_CONFIG
MISSING_CONFIG
This error indicates that the configuration file is either missing from your
.zip, not located in the root directory, or has an invalid format. Ensure the configuration file is in .app or .config format. Additionally, verify that there are no duplicate file extensions by enabling file extension visibility on your computer.MISSING_MEMORY
MISSING_MEMORY
This error occurs when the MEMORY field is missing from your configuration file. This field defines the total amount of RAM allocated to your application.
INVALID_DISPLAY_NAME
INVALID_DISPLAY_NAME
This error occurs when the DISPLAY_NAME field is missing or exceeds the 32-character limit. Ensure your application’s display name is defined and within the allowed character limit.
FAILED_UPLOAD
FAILED_UPLOAD
This error is typically caused by issues with the
.zip file. Ensure the .zip file is properly created and not password-protected. If the file is password-protected, remove the password and try again. If the file is not password-protected but the error persists, the file may be corrupted. In this case, create a new .zip file and attempt the upload again.