Skip to content

Commit

Permalink
Move all examples to the examples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza committed Jun 23, 2024
1 parent 7cb956f commit 0089a69
Show file tree
Hide file tree
Showing 51 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A list of ready-to-run examples for `@discordjs/voice`.

## How to try them out

All you have to do is copy the example directory of your choosing, install the dependencies, fill in the `.env` file, and run `npm run start`.
All you have to do is copy an example of your choosing from the [examples](./examples) directory, install the dependencies, fill in the `.env` file, and run `npm run start`.

## Links

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions _base/package.json → examples/_base/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@discordjs/voice-examples-base",
"name": "base-bot",
"version": "0.0.1",
"description": "An example receiver bot written using @discordjs/voice",
"description": "A base bot for all examples using @discordjs/voice",
"main": "dist/index.js",
"type": "module",
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions radio-bot/package.json → examples/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "discord-radio-bot",
"version": "1.0.0",
"description": "A proof-of-concept radio bot for @discordjs/voice",
"name": "basic-bot",
"version": "0.0.1",
"description": "A proof-of-concept basic bot using @discordjs/voice",
"main": "dist/index.js",
"type": "module",
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions basic/package.json → examples/radio-bot/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "basic-voice-bot",
"version": "1.0.0",
"description": "A proof-of-concept basic voice bot for @discordjs/voice",
"name": "radio-bot",
"version": "0.0.1",
"description": "A proof-of-concept radio bot using @discordjs/voice",
"main": "dist/index.js",
"type": "module",
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion recorder/package.json → examples/recorder/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "receiver-bot",
"version": "0.0.1",
"description": "An example receiver bot written using @discordjs/voice",
"description": "A proof-of-concept recorder bot using @discordjs/voice",
"main": "dist/index.js",
"type": "module",
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
packages:
- '_base'
- 'basic'
- 'radio-bot'
- 'recorder'
- 'examples/*'

0 comments on commit 0089a69

Please sign in to comment.