Skip to content

Commit

Permalink
feat: music-module v2
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Mar 1, 2024
1 parent 61928ef commit 19f93a5
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 49 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@

Previous changelog before 4.0.605 may not be noted here.

## [6.1.902] - 2023-02-29
## [6.2.911] - 2024-03-02

- feat: `@cocoa-discord/music-module` v2

## [6.1.902] - 2024-02-29

- chore: bump deps
- fix: change voice encoder to make it works in docker

## [6.1.901] - 2023-02-04
## [6.1.901] - 2024-02-04

- fix: correct sveltekit handler for urami

## [6.1.900] - 2023-02-04
## [6.1.900] - 2024-02-04

- chore: bump deps
- refactor: no longer require api key for golden frame (See new Golden Frame Web)
Expand Down
2 changes: 1 addition & 1 deletion apps/bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"typescript": "5.3.3"
},
"dependencies": {
"@cocoa-discord/music-module": "1.1.0",
"@cocoa-discord/music-module": "2.0.0",
"@discordjs/opus": "0.9.0",
"@discordjs/voice": "0.16.1",
"@waifu-bot/auth": "workspace:*",
Expand Down
5 changes: 3 additions & 2 deletions apps/bot/src/commands/music.slash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { createEmbedStyle } from "cocoa-discord";
import { Param, SlashCommand } from "cocoa-discord/slash/class";

import {
Expand All @@ -9,11 +8,13 @@ import {

import { ChannelType, Client, VoiceChannel } from "discord.js";

import { getStyle } from "../data/waifu.js";

// * Note: Extending Class Cog is not what you should do unless you know
// * underlying mechanics
export class Music extends MusicBase {
constructor(client: Client) {
super(client, createEmbedStyle({}), "Related to playing music");
super(client, () => getStyle(), "Related to playing music");
}

@SlashCommand("yes, rick roll")
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@urami/svelte": "1.1.1",
"@urami/types": "1.0.1",
"@waifu-bot/constants": "workspace:*",
"autoprefixer": "10.4.17",
"autoprefixer": "10.4.18",
"discord-api-types": "0.37.71",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"eslint": "8.57.0",
"eslint-config-next": "14.1.0",
"eslint-config-next": "14.1.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// * Data such as App Version and other "constants"
// * will be in this package

export const AppVersion = "6.1.902";
export const AppVersion = "6.2.911";

export const YoutubeURLPrefix = "https://www.youtube.com/watch?v=";

Expand Down
80 changes: 40 additions & 40 deletions pnpm-lock.yaml

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

0 comments on commit 19f93a5

Please sign in to comment.