mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
chore: monorepo setup (#7175)
This commit is contained in:
23
packages/voice/examples/recorder/README.md
Normal file
23
packages/voice/examples/recorder/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 👂 Recorder Bot
|
||||
|
||||
This example shows how you can use the voice receive functionality in @discordjs/voice to record users in voice channels
|
||||
and save the audio to local Ogg files.
|
||||
|
||||
## Usage
|
||||
|
||||
```sh-session
|
||||
# Clone the main repository, and then run:
|
||||
$ npm install
|
||||
$ npm run build
|
||||
|
||||
# Open this example and install dependencies
|
||||
$ cd examples/recorder
|
||||
$ npm install
|
||||
|
||||
# Set a bot token (see auth.example.json)
|
||||
$ cp auth.example.json auth.json
|
||||
$ nano auth.json
|
||||
|
||||
# Start the bot!
|
||||
$ npm start
|
||||
```
|
||||
Reference in New Issue
Block a user