documentation
This commit is contained in:
parent
08da3834ec
commit
9f69ddab60
4 changed files with 7 additions and 1 deletions
|
@ -8,5 +8,5 @@ const { AudioFilters } = require("discord-player");
|
||||||
AudioFilters.define("3D", "apulsator=hz=0.128");
|
AudioFilters.define("3D", "apulsator=hz=0.128");
|
||||||
|
|
||||||
// later, it can be used like this
|
// later, it can be used like this
|
||||||
queue.setFilters(message, { "3D": true });
|
queue.setFilters({ "3D": true });
|
||||||
```
|
```
|
3
docs/faq/slash_commands.md
Normal file
3
docs/faq/slash_commands.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Slash Commands Example
|
||||||
|
|
||||||
|
You can use Discord Player with slash commands. **[Here](https://github.com/Androz2091/discord-player/tree/v5/example/music-bot)** is an example on how to use this framework with slash commands.
|
2
example/music-bot/README.md
Normal file
2
example/music-bot/README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Music Bot
|
||||||
|
Slash commands music bot backed by **[Discord Player](https://discord-player.js.org)**.
|
|
@ -302,6 +302,7 @@ class Queue<T = unknown> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Play stream in a voice/stage channel
|
||||||
* @param {Track} [src] The track to play (if empty, uses first track from the queue)
|
* @param {Track} [src] The track to play (if empty, uses first track from the queue)
|
||||||
* @param {PlayOptions} [options={}] The options
|
* @param {PlayOptions} [options={}] The options
|
||||||
* @returns {Promise<void>}
|
* @returns {Promise<void>}
|
||||||
|
|
Loading…
Reference in a new issue