Skip to content

feat: creating random song command - #6

Merged
jaredgrxss merged 4 commits into
mainfrom
creatingRandomCommand
Aug 12, 2025
Merged

feat: creating random song command#6
jaredgrxss merged 4 commits into
mainfrom
creatingRandomCommand

Conversation

@jaredgrxss

Copy link
Copy Markdown
Owner

No description provided.

@jaredgrxss
jaredgrxss requested a review from Copilot August 12, 2025 23:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a random song command feature for a Discord bot that can play music in voice channels. The bot now integrates with OpenAI to get song recommendations by genre and uses YouTube to find and play the requested songs.

  • Adds GPG-encrypted environment file handling for secure credential storage
  • Implements YouTube music playback functionality with voice channel integration
  • Creates OpenAI integration for genre-based song recommendations

Reviewed Changes

Copilot reviewed 16 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/index.ts Adds GPG environment decryption and voice state intents for Discord client
src/helpers/youtube.ts New module for YouTube search and audio playback in Discord voice channels
src/helpers/open-ai.ts New module for OpenAI integration to get song recommendations by genre
src/commands/chat-commands/random-song.ts Updates random song command to use genre selection and YouTube playback
src/@types/open-ai.ts Defines TypeScript types for song data structure
src/@types/commands.ts Updates command types to support more flexible slash command builders
package.json Adds dependencies for voice, YouTube, and OpenAI functionality
Comments suppressed due to low confidence (2)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/@types/open-ai.ts Outdated
Comment thread src/helpers/open-ai.ts
Comment thread src/commands/chat-commands/random-song.ts Outdated
@jaredgrxss
jaredgrxss force-pushed the creatingRandomCommand branch from c810ee8 to a348f52 Compare August 12, 2025 23:17
@jaredgrxss
jaredgrxss merged commit 89b1446 into main Aug 12, 2025
1 check passed
@jaredgrxss
jaredgrxss deleted the creatingRandomCommand branch August 12, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants