Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

docs: music bot example#107

Merged
amishshah merged 16 commits into
mainfrom
feat/example-player
Jun 9, 2021
Merged

docs: music bot example#107
amishshah merged 16 commits into
mainfrom
feat/example-player

Conversation

@amishshah
Copy link
Copy Markdown
Member

Please describe the changes this PR makes and why it should be merged:

This PR adds an example implementation of a music bot using discord.js. It focuses on:

  • Reconnection logic
  • Error handling and important state transitions
  • Implementing a music queue
  • Interesting uses of metadata in AudioResources

Status and versioning classification:

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2021

Codecov Report

Merging #107 (bb2854f) into main (0a92031) will not change coverage.
The diff coverage is n/a.

❗ Current head bb2854f differs from pull request most recent head 6d6365b. Consider uploading reports for the commit 6d6365b to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #107   +/-   ##
=======================================
  Coverage   63.46%   63.46%           
=======================================
  Files          18       18           
  Lines         813      813           
  Branches      191      191           
=======================================
  Hits          516      516           
  Misses        295      295           
  Partials        2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0a92031...6d6365b. Read the comment docs.

@amishshah amishshah marked this pull request as ready for review June 7, 2021 21:06
@amishshah amishshah requested review from SpaceEEC, iCrawl and kyranet June 7, 2021 21:06
Comment thread examples/music-bot/src/bot.ts
Comment thread examples/music-bot/src/bot.ts Outdated
Comment thread examples/music-bot/src/music/subscription.ts
Comment thread examples/music-bot/src/bot.ts Outdated
Comment thread examples/music-bot/src/bot.ts Outdated
@amishshah amishshah force-pushed the feat/example-player branch from 3aeffa0 to 816e09e Compare June 8, 2021 17:52
Comment thread examples/music-bot/src/bot.ts Outdated
Comment thread examples/music-bot/src/bot.ts Outdated
Comment thread examples/music-bot/src/bot.ts
Comment thread examples/music-bot/src/music/subscription.ts Outdated
Comment thread examples/music-bot/src/music/subscription.ts Outdated
amishshah and others added 2 commits June 8, 2021 20:53
@amishshah amishshah requested a review from kyranet June 8, 2021 19:56
@amishshah amishshah merged commit fe3627c into main Jun 9, 2021
@amishshah amishshah deleted the feat/example-player branch June 9, 2021 06:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants