Перейти к содержанию

5 документов с тегом с тэгом «Advanced»

Advanced techniques for necord-related tasks.

Посмотреть все теги

Lavalink

Transform your bot into a professional DJ with the power of the Lavalink ecosystem. This package uses lavalink-client behind the scenes, providing a high-performance and efficient solution for managing audio streams on Discord. By leveraging Lavalink, your bot gains the ability to manage audio playback, queues, and real-time controls with minimal latency, transforming it into a fully capable and professional music system.

Асинхронная конфигурация

Если вам нужно передать параметры модуля асинхронно, а не статически, используйте метод .forRootAsync(). Как и большинство динамических модулей, Nest предоставляет несколько техник для работы с асинхронной конфигурацией.

Пагинация

Pagination is a useful technique employed in user interfaces to present large amounts of information in a structured and

Шардирование

Discord prevents your bot application from logging in without sharding once you hit a scale of 2,500 guilds. If you are not planning to create a public bot application, then you can go ahead and ignore this section. However, if you are creating a public bot application, it would be wise to keep sharding in mind as it can increase the complexity of your application due to how a sharded process works.