Skip to content

Commit

Permalink
Update languages
Browse files Browse the repository at this point in the history
Update korean

config.ts

Update Shoukaku

package.json

config.ts

Update Buttons

Typescript updatee

Changed the button order again

Update typescript and biome, formatting

Update TypeScript

Remove empty block

Format

fix data

Format again
  • Loading branch information
hwangsihu committed Sep 12, 2024
1 parent 563fc9c commit f7913a4
Show file tree
Hide file tree
Showing 125 changed files with 7,543 additions and 7,623 deletions.
13 changes: 1 addition & 12 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,12 @@
},
"formatter": {
"enabled": true,
"indentWidth": 4,
"indentWidth": 2,
"indentStyle": "space",
"lineEnding": "crlf",
"lineWidth": 140,
"formatWithErrors": true
},
"json": {
"linter": {
"enabled": true
},
"formatter": {
"enabled": true,
"indentWidth": 2,
"lineEnding": "crlf",
"lineWidth": 80
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
Expand Down
2 changes: 1 addition & 1 deletion locales/Bulgarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Croatian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Czech.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Danish.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Dutch.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/EnglishGB.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/EnglishUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Finnish.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Greek.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Hungarian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Italian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
30 changes: 15 additions & 15 deletions locales/Korean.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,15 @@
"author": "게시자",
"not_connected_to_voice_channel": "이 버튼을 사용하려면 먼저 <#{channel}>에 있어야 해요.",
"need_dj_role": "이 명령어를 사용하려면 DJ 권한이 있어야 해요.",
"previous_by": "{user} 의해 이전 노래 재생 중",
"previous_by": "{user}님에 의해 이전 노래 재생 중",
"no_previous_song": "이전 노래가 없어요.",
"paused_by": "{user} 의해 일시정지됨",
"resumed_by": "{user} 의해 재계됨",
"skipped_by": "{user} 의해 스킵됨",
"paused_by": "{user}님에 의해 일시정지됨",
"resumed_by": "{user}님에 의해 재계됨",
"skipped_by": "{user}님에 의해 스킵됨",
"no_more_songs_in_queue": "대기열에 더 이상 노래가 없어요.",
"looping_by": "{user} 의해 한곡 반복 중",
"looping_queue_by": "{user} 의해 대기열 반복 중",
"looping_off_by": "{user} 의해 반복 꺼짐"
"looping_by": "{user}님에 의해 한곡 반복 중",
"looping_queue_by": "{user}님에 의해 대기열 반복 중",
"looping_off_by": "{user}님에 의해 반복 꺼짐"
},
"setupStart": {
"now_playing": "재생 중",
Expand Down Expand Up @@ -604,25 +604,25 @@
"paused": "일시정지",
"resumed": "재계",
"pause_resume": "음악이 {name}되었어요.",
"pause_resume_footer": "{displayName} 의해 {name}됨",
"pause_resume_footer": "{displayName}님에 의해 {name}됨",
"no_music_to_skip": "스킵할 노래가 없어요.",
"skipped": "노래를 스킵했어요.",
"skipped_footer": "{displayName} 의해 스킵됨",
"skipped_footer": "{displayName}님에 의해 스킵됨",
"stopped": "노래를 정지했어요.",
"stopped_footer": "{displayName} 의해 정지됨",
"nothing_playing": "재생 중인 노래가 없어요.",
"stopped_footer": "{displayName}님에 의해 정지됨",
"nothing_playing": "재생 중인 노래 없음",
"loop_set": "{loop} 반복으로 설정했어요.",
"loop_footer": "{displayName} 의해 {loop} 반복으로 설정됨",
"loop_footer": "{displayName}님에 의해 {loop} 반복으로 설정됨",
"shuffled": "노래를 섞었어요.",
"no_previous_track": "이전 노래가 없어요.",
"playing_previous": "이전 노래를 재생할게요.",
"previous_footer": "{displayName} 의해 이전 노래 재생 중",
"previous_footer": "{displayName}님에 의해 이전 노래 재생 중",
"rewind_limit": "현재 노래 길이보다 더 되감기할 수 없어요.",
"rewinded": "노래를 되감기했어요.",
"rewind_footer": "{displayName} 의해 노래 되감기됨",
"rewind_footer": "{displayName}님에 의해 노래 되감기됨",
"forward_limit": "현재 노래 길이보다 더 빨리감기할 수 없어요.",
"forwarded": "노래를 빨리감기했어요.",
"forward_footer": "{displayName} 의해 빨리감기됨",
"forward_footer": "{displayName}님에 의해 빨리감기됨",
"button_not_available": "이 버튼은 사용할 수 없어요.",
"no_music_playing": "현재 재생 중인 노래가 없어요."
}
Expand Down
2 changes: 1 addition & 1 deletion locales/Lithuanian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/PortugueseBR.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Romanian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Swedish.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Thai.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Turkish.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
2 changes: 1 addition & 1 deletion locales/Ukrainian.json
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
"skipped_footer": "Skipped by {displayName}",
"stopped": "Stopped the music.",
"stopped_footer": "Stopped by {displayName}",
"nothing_playing": "Nothing is playing right now.",
"nothing_playing": "Nothing is playing right now",
"loop_set": "Loop set to {loop}.",
"loop_footer": "Loop set to {loop} by {displayName}",
"shuffled": "Shuffled the queue.",
Expand Down
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,7 @@
"type": "git",
"url": "git+https://github.com/appujet/lavamusic.git"
},
"keywords": [
"discord",
"music",
"bot",
"lavalink",
"shoukaku",
"lavamusic",
"typescript",
"prisma"
],
"keywords": ["discord", "music", "bot", "lavalink", "shoukaku", "lavamusic", "typescript", "prisma"],
"author": "appujet",
"license": "GPL-3.0",
"bugs": {
Expand All @@ -39,7 +30,7 @@
"@types/node": "^22.5.4",
"@types/signale": "^1.4.7",
"prisma": "^5.19.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"dependencies": {
"@prisma/client": "^5.19.1",
Expand All @@ -48,7 +39,7 @@
"dotenv": "^16.4.5",
"i18n": "^0.15.1",
"node-system-stats": "^1.3.0",
"shoukaku": "github:shipgirlproject/Shoukaku#master",
"shoukaku": "^4.1.1",
"signale": "^1.4.0",
"topgg-autoposter": "^2.0.2",
"tslib": "^2.7.0",
Expand Down
79 changes: 42 additions & 37 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,67 +5,72 @@
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init

generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}

datasource db {
provider = "sqlite"
url = "file:./lavamusic.db"
provider = "sqlite"
url = "file:./lavamusic.db"
}

model Bot {
botId String @unique
totalPlaySong Int
}

model Guild {
guildId String @id
prefix String
language String?
stay Stay?
dj Dj?
roles Role[]
setup Setup?
guildId String @id
prefix String
language String? @default("EnglishUS")
stay Stay?
dj Dj?
roles Role[]
setup Setup?
}

model Stay {
guildId String @id
textId String
voiceId String
Guild Guild @relation(fields: [guildId], references: [guildId])
guildId String @id
textId String
voiceId String
Guild Guild @relation(fields: [guildId], references: [guildId])
}

model Dj {
guildId String @id
mode Boolean
Guild Guild @relation(fields: [guildId], references: [guildId])
guildId String @id
mode Boolean
Guild Guild @relation(fields: [guildId], references: [guildId])
}

model Role {
guildId String
roleId String
Guild Guild @relation(fields: [guildId], references: [guildId])
guildId String
roleId String
Guild Guild @relation(fields: [guildId], references: [guildId])
@@unique([guildId, roleId])
@@unique([guildId, roleId])
}

model Playlist {
id String @id @default(uuid())
userId String
name String
songs Song[]
id String @id @default(uuid())
userId String
name String
songs Song[]
@@unique([userId, name])
@@unique([userId, name])
}

model Song {
id String @id @default(uuid())
track String
playlistId String
playlist Playlist @relation(fields: [playlistId], references: [id])
id String @id @default(uuid())
track String
playlistId String
playlist Playlist @relation(fields: [playlistId], references: [id])
@@unique([track, playlistId])
@@unique([track, playlistId])
}

model Setup {
guildId String @id
textId String
messageId String
Guild Guild @relation(fields: [guildId], references: [guildId])
}
guildId String @id
textId String
messageId String
Guild Guild @relation(fields: [guildId], references: [guildId])
}
Loading

0 comments on commit f7913a4

Please sign in to comment.