Skip to content

Commit

Permalink
add: unshuffle command (#188)
Browse files Browse the repository at this point in the history
* add: various of commits (check description)

remove: some useless package

remove: manifest file support

add: manifest data to package.json

remove: client.manifest

add: more details to client.manifest

fix: duplicate destroy

add: more details to startup

add: translation string to src/languages

add: playerStop event back again

* move: languages dir outside the src folder

* add: new rainlink deezer plugin

* add: unshuffle command, finish 5.2.5
  • Loading branch information
RainyXeon authored Oct 4, 2024
1 parent 2911e78 commit 4f72768
Show file tree
Hide file tree
Showing 122 changed files with 2,712 additions and 3,260 deletions.
7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

50 changes: 25 additions & 25 deletions languages/en/button.music.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
queue_author: "💾 %{guild}"
queue_author: '💾 %{guild}'
queue_description: "`📀` | Currently Playing:\n**%{track}** `[%{duration}]` • %{requester}\n\n`💤` | Rest of Queue:**%{list_song}**"
queue_footer: "Page • %{page}/%{pages} | Songs • %{queue_lang} | Total Duration • %{total_duration}"
queue_footer: 'Page • %{page}/%{pages} | Songs • %{queue_lang} | Total Duration • %{total_duration}'
# Pause
pause_msg: "`⏸️` | Paused the **Player**!"
resume_msg: "`▶️` | Resumed the **Player**!"
pause_msg: '`⏸️` | Paused the **Player**!'
resume_msg: '`▶️` | Resumed the **Player**!'
# Skip
skip_msg: "`⏭️` | Skipped the **Song**!"
skip_notfound: "`⚠️` | No song was found to Skip to!"
skip_msg: '`⏭️` | Skipped the **Song**!'
skip_notfound: '`⚠️` | No song was found to Skip to!'
# Stop
stop_msg: "`⏹️` | Stopped the **Player**!"
stop_msg: '`⏹️` | Stopped the **Player**!'
# Volume
volup_msg: "`🔊` | Changed Volume to **%{volume}%**"
voldown_msg: "`🔉` | Changed Volume to **%{volume}%**"
volume_invalid: "`⚠️` | Invalid Volume. Please use a number between **1** and **100**!"
volume_max: "`⚠️` | Player is already at max volume!"
volume_min: "`⚠️` | Player is already at min volume!"
volup_msg: '`🔊` | Changed Volume to **%{volume}%**'
voldown_msg: '`🔉` | Changed Volume to **%{volume}%**'
volume_invalid: '`⚠️` | Invalid Volume. Please use a number between **1** and **100**!'
volume_max: '`⚠️` | Player is already at max volume!'
volume_min: '`⚠️` | Player is already at min volume!'
# Clear
clear_msg: "`🗑️` | Queue has been **Cleared**!"
clear_msg: '`🗑️` | Queue has been **Cleared**!'
# Loop
loop_current: "`🔁` | Looping current **Song**!"
loop_all: "`🔁` | Looping **Queue**!"
unloop_all: "`❌` | Loop is now **Disabled**!"
loop_invalid: "`⚠️` | Invalid Loop mode. Please use %{mode}!"
loop_already: "`⚠️` | Loop mode is already **%{mode}**!"
loop_current: '`🔁` | Looping current **Song**!'
loop_all: '`🔁` | Looping **Queue**!'
unloop_all: '`❌` | Loop is now **Disabled**!'
loop_invalid: '`⚠️` | Invalid Loop mode. Please use %{mode}!'
loop_already: '`⚠️` | Loop mode is already **%{mode}**!'
# Previous
previous_msg: "`⏮️` | Skipped to Previous **Song**!"
previous_notfound: "`⚠️` | No Previous song was found!"
previous_msg: '`⏮️` | Skipped to Previous **Song**!'
previous_notfound: '`⚠️` | No Previous song was found!'
# Shuffle
shuffle_msg: "🔀 Shuffled the Queue"
shuffle_msg: '🔀 Shuffled the Queue'

### All filter command!
filter_on: "`✅` | %{name} filter is now **enable**!"
filter_already: "`⚠️` | %{name} filter is already **enabled**!"
filter_on: '`✅` | %{name} filter is now **enable**!'
filter_already: '`⚠️` | %{name} filter is already **enabled**!'

### Reset command!
reset_on: "`❌` | Filter has been **Reset**!"
reset_already: "`⚠️` | Filter has already been **Reset**!"
reset_on: '`❌` | Filter has been **Reset**!'
reset_already: '`⚠️` | Filter has already been **Reset**!'
44 changes: 22 additions & 22 deletions languages/en/command.filter.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
### All filter command!
filter_on: "`✅` | %{name} filter is now **enable**!"
filter_already: "`⚠️` | %{name} filter is already **enabled**!"
filter_number: "`⚠️` | Please provide a valid number!"
filter_greater: "`⚠️` | Number must be greater than **0**!"
filter_less: "`⚠️` | Number must be lesser than **10**!"
filter_on: '`✅` | %{name} filter is now **enable**!'
filter_already: '`⚠️` | %{name} filter is already **enabled**!'
filter_number: '`⚠️` | Please provide a valid number!'
filter_greater: '`⚠️` | Number must be greater than **0**!'
filter_less: '`⚠️` | Number must be lesser than **10**!'
filter_avaliable: "### `❌` | You must type in the correct filter name. Here's all avaliable filter [%{amount}]\n`%{list}`"

### Bassboost command!
bassboost_set: "`🎚️` | Bassboost has been set to **%{amount}dB**!"
bassboost_limit: "`⚠️` | Please use a number between **-10** and **10**!"
bassboost_set: '`🎚️` | Bassboost has been set to **%{amount}dB**!'
bassboost_limit: '`⚠️` | Please use a number between **-10** and **10**!'

### Equalizer command!
eq_author: "Equalizer"
eq_icon: "https://i.pinimg.com/originals/cb/17/b8/cb17b80a942d7c317a35ff1324fae12f.gif"
eq_desc: "`🎚️` | There are **14 Bands** that can be set from **-10** to **10**. It is not mandatory to set all of them!"
eq_field_title: "Example:"
eq_field_value: "%{prefix}eq 2 3 0 8 0 5 0 -5 0 0"
eq_footer: "Reset Equalizer • %{prefix}eq reset"
eq_on: "`🎚️` | Equalizer has been set to **%{bands}**!"
eq_number: "`⚠️` | Please provide a valid number!"
eq_greater: "`⚠️` | Number must be greater than **-10**!"
eq_than: "`⚠️` | Number must be lesser than **10**!"
eq_author: 'Equalizer'
eq_icon: 'https://i.pinimg.com/originals/cb/17/b8/cb17b80a942d7c317a35ff1324fae12f.gif'
eq_desc: '`🎚️` | There are **14 Bands** that can be set from **-10** to **10**. It is not mandatory to set all of them!'
eq_field_title: 'Example:'
eq_field_value: '%{prefix}eq 2 3 0 8 0 5 0 -5 0 0'
eq_footer: 'Reset Equalizer • %{prefix}eq reset'
eq_on: '`🎚️` | Equalizer has been set to **%{bands}**!'
eq_number: '`⚠️` | Please provide a valid number!'
eq_greater: '`⚠️` | Number must be greater than **-10**!'
eq_than: '`⚠️` | Number must be lesser than **10**!'

### Pitch command!
pitch_on: "`🎚️` | Pitch has been set to **%{amount}**!"
pitch_on: '`🎚️` | Pitch has been set to **%{amount}**!'

### Rate command!
rate_on: "`🎚️` | Rate has been set to **%{amount}x**!"
rate_on: '`🎚️` | Rate has been set to **%{amount}x**!'

### Speed command!
speed_on: "`🎚️` | Speed has been set to **%{amount}x**!"
speed_on: '`🎚️` | Speed has been set to **%{amount}x**!'

### Reset command!
reset_on: "`❌` | Filter has been **Reset**!"
reset_already: "`⚠️` | Filter has already been **Reset**!"
reset_on: '`❌` | Filter has been **Reset**!'
reset_already: '`⚠️` | Filter has already been **Reset**!'
46 changes: 23 additions & 23 deletions languages/en/command.info.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
### Developer command!
dev_title: "RainyXeon"
dev_title: 'RainyXeon'
dev_desc: "I'm just an incognito developer. And an official creator of Dreamvast and RainyProduction!"
dev_foot: "Consider joining my server or inviting my bots :) This would help me a lot!"
dev_foot: 'Consider joining my server or inviting my bots :) This would help me a lot!'

### Invite command!
inv_title: "✉️ %{username}"
inv_desc: "Thanks for Inviting me in advance!"
inv_title: '✉️ %{username}'
inv_desc: 'Thanks for Inviting me in advance!'

### Ping command!
ping_title: "🏓 "
ping_title: '🏓 '
ping_desc: "**Ping:** `%{ping}ms`\n**Response Time:** `%{response}ms`"

### Uptime command!
uptime_title: "🕒 "
uptime_desc: "**Uptime:** `%{uptime}`"
uptime_title: '🕒 '
uptime_desc: '**Uptime:** `%{uptime}`'

### Help command!
ce_finder_name: "**Command:**"
ce_finder_des: "**Description:**"
ce_finder_usage: "**Usage:**"
ce_finder_access: "**Accessible by:**"
ce_finder_aliases: "**Aliases:**"
ce_finder_slash: "**Slash:**"
ce_finder_des_no: "No Description"
ce_finder_usage_no: "No Usage"
ce_finder_aliases_prefix: " [Prefix only]"
ce_finder_aliases_no: "No Aliases"
ce_finder_slash_enable: "Enabled"
ce_finder_slash_disable: "Disabled"
ce_finder_invalid: "Invalid Command"
ce_finder_example: "`⚠️` | Please provide a valid **Command Name**!"
ce_name: "Help Command"
ce_total: "Total Commands: "
ce_finder_name: '**Command:**'
ce_finder_des: '**Description:**'
ce_finder_usage: '**Usage:**'
ce_finder_access: '**Accessible by:**'
ce_finder_aliases: '**Aliases:**'
ce_finder_slash: '**Slash:**'
ce_finder_des_no: 'No Description'
ce_finder_usage_no: 'No Usage'
ce_finder_aliases_prefix: ' [Prefix only]'
ce_finder_aliases_no: 'No Aliases'
ce_finder_slash_enable: 'Enabled'
ce_finder_slash_disable: 'Disabled'
ce_finder_invalid: 'Invalid Command'
ce_finder_example: '`⚠️` | Please provide a valid **Command Name**!'
ce_name: 'Help Command'
ce_total: 'Total Commands: '
121 changes: 62 additions & 59 deletions languages/en/command.music.yaml
Original file line number Diff line number Diff line change
@@ -1,105 +1,108 @@
### Autoplay command!
autoplay_on: "`✅` | Autoplay is now **Enabled**!"
autoplay_off: "`❌` | Autoplay is now **Disabled**!"
autoplay_already: "`⚠️` | Autoplay is already **%{mode}**!"
autoplay_on: '`✅` | Autoplay is now **Enabled**!'
autoplay_off: '`❌` | Autoplay is now **Disabled**!'
autoplay_already: '`⚠️` | Autoplay is already **%{mode}**!'

### ClearQueue command!
clearqueue_msg: "`🗑️` | Queue has been **Cleared**!"
clearqueue_msg: '`🗑️` | Queue has been **Cleared**!'

### Forward command!
forward_msg: "`⏩` | Forwarded to `%{duration}`"
forward_beyond: "`⚠️` | Song is about to end. You can not Forward beyond it!"
forward_msg: '`⏩` | Forwarded to `%{duration}`'
forward_beyond: '`⚠️` | Song is about to end. You can not Forward beyond it!'

### Join command!
join_msg: "`🔊` | Joined %{channel}"
join_voice: "`⚠️` | You need to be in a voice channel to use this command!"
join_already: "`⚠️` | I am already in %{channel}"
join_msg: '`🔊` | Joined %{channel}'
join_voice: '`⚠️` | You need to be in a voice channel to use this command!'
join_already: '`⚠️` | I am already in %{channel}'

### Stop command!
stop_msg: "`⏹️` | Stopped the **Player**!"
stop_msg: '`⏹️` | Stopped the **Player**!'

### Loop command!
loop_current: "`🔁` | Looping current **Song**!"
loop_all: "`🔁` | Looping **Queue**!"
unloop_all: "`❌` | Loop is now **Disabled**!"
loop_invalid: "`⚠️` | Invalid Loop mode. Please use %{mode}!"
loop_already: "`⚠️` | Loop mode is already **%{mode}**!"
loop_current: '`🔁` | Looping current **Song**!'
loop_all: '`🔁` | Looping **Queue**!'
unloop_all: '`❌` | Loop is now **Disabled**!'
loop_invalid: '`⚠️` | Invalid Loop mode. Please use %{mode}!'
loop_already: '`⚠️` | Loop mode is already **%{mode}**!'

### Lyrics command!
lyrics_title: "📜 %{song}"
lyrics_notfound: "`⚠️` | Lyrics not found!"
lyrics_toolong: "`⚠️` | Lyrics are too long to be displayed!"
lyrics_title: '📜 %{song}'
lyrics_notfound: '`⚠️` | Lyrics not found!'
lyrics_toolong: '`⚠️` | Lyrics are too long to be displayed!'

### Nowplaying command!
np_icon: "https://cdn.discordapp.com/emojis/741605543046807626.gif"
np_title: "Now Playing"
np_current_duration: "`⏰` | Current Duration: `[%{current_duration} / %{total_duration}]`"
np_icon: 'https://cdn.discordapp.com/emojis/741605543046807626.gif'
np_title: 'Now Playing'
np_current_duration: '`⏰` | Current Duration: `[%{current_duration} / %{total_duration}]`'

### Pause command!
pause_msg: "`⏸️` | Paused the **Player**!"
pause_msg: '`⏸️` | Paused the **Player**!'

### Play command!
play_track: "`💾` | Queued **%{title}** `%{duration}` • %{request}"
play_playlist: "`💾` | Queued **%{title}** `%{duration}` • (**%{songs} Songs**) • %{request}"
play_result: "`💾` | Queued **%{title}** `%{duration}` • %{request}"
play_arg: "`⚠️` | Please provide a valid song name or URL!"
play_match: "`⚠️` | Song not found!"
play_emoji: "`⚠️` | You can not play songs using emoji!"
play_track: '`💾` | Queued **%{title}** `%{duration}` • %{request}'
play_playlist: '`💾` | Queued **%{title}** `%{duration}` • (**%{songs} Songs**) • %{request}'
play_result: '`💾` | Queued **%{title}** `%{duration}` • %{request}'
play_arg: '`⚠️` | Please provide a valid song name or URL!'
play_match: '`⚠️` | Song not found!'
play_emoji: '`⚠️` | You can not play songs using emoji!'

### File command!
file_notfound: "`⚠️` | Please provide a valid File!"
play_invalid_file: "`⚠️` | Invalid File type. Please use **mp3** or **ogg**!"
play_warning_file: "`⚠️` | I could not detect the File type. Please use **mp3** or **ogg**!"
file_notfound: '`⚠️` | Please provide a valid File!'
play_invalid_file: '`⚠️` | Invalid File type. Please use **mp3** or **ogg**!'
play_warning_file: '`⚠️` | I could not detect the File type. Please use **mp3** or **ogg**!'

### Previous command!
previous_msg: "`⏮️` | Skipped to Previous **Song**!"
previous_notfound: "`⚠️` | No Previous song was found!"
previous_msg: '`⏮️` | Skipped to Previous **Song**!'
previous_notfound: '`⚠️` | No Previous song was found!'

### Queue command!
queue_author: "💾 %{guild}"
queue_author: '💾 %{guild}'
queue_description: "`📀` | Currently Playing:\n**%{title}** `[%{duration}]` • %{request}\n\n`💤` | Rest of Queue:**%{rest}**"
queue_footer: "Page • %{page}/%{pages} | Songs • %{queue_lang} | Total Duration • %{duration}"
queue_notnumber: "`⚠️` | Please provide a valid page number!"
queue_page_notfound: "`⚠️` | There are only **%{page} Pages**!"
queue_footer: 'Page • %{page}/%{pages} | Songs • %{queue_lang} | Total Duration • %{duration}'
queue_notnumber: '`⚠️` | Please provide a valid page number!'
queue_page_notfound: '`⚠️` | There are only **%{page} Pages**!'

### Replay command!
replay_msg: "`🔄` | Replayed the **Song**!"
replay_msg: '`🔄` | Replayed the **Song**!'

### Resume command!
resume_msg: "`▶️` | Resumed the **Player**!"
resume_msg: '`▶️` | Resumed the **Player**!'

### Rewind command!
rewind_msg: "`⏪` | Rewinded to `%{duration}`"
rewind_beyond: "`⚠️` | Song just started. You can not Rewind beyond it!"
rewind_msg: '`⏪` | Rewinded to `%{duration}`'
rewind_beyond: '`⚠️` | Song just started. You can not Rewind beyond it!'

### RemoveTrack command!
removetrack_desc: "`🗑️` | Removed **%{name}** `%{duration}` • %{request}"
removetrack_already: "`⚠️` | I can not Remove a song that is already playing!"
removetrack_notfound: "`⚠️` | Song not found!"
removetrack_desc: '`🗑️` | Removed **%{name}** `%{duration}` • %{request}'
removetrack_already: '`⚠️` | I can not Remove a song that is already playing!'
removetrack_notfound: '`⚠️` | Song not found!'

### Seek command!
seek_msg: "`➿` | Seeked to `%{duration}`"
seek_beyond: "`⚠️` | You can not Seek beyond the song duration!"
seek_invalid: "`⚠️` | Invalid Seek duration. Please use a valid timestamp. Example: **1:30**!"
seek_msg: '`➿` | Seeked to `%{duration}`'
seek_beyond: '`⚠️` | You can not Seek beyond the song duration!'
seek_invalid: '`⚠️` | Invalid Seek duration. Please use a valid timestamp. Example: **1:30**!'

### Shuffle command!
shuffle_msg: "🔀 Shuffled the Queue"
shuffle_msg: '🔀 Shuffled the Queue'

### Unshuffle command!
unshuffle_msg: '🔀 Unshuffled the Queue'

### Skip command!
skip_msg: "`⏭️` | Skipped the **Song**!"
skip_notfound: "`⚠️` | No song was found to Skip to!"
skip_msg: '`⏭️` | Skipped the **Song**!'
skip_notfound: '`⚠️` | No song was found to Skip to!'

### Volume command!
volume_msg: "`🔊` | Volume has been set to **%{volume}%**"
volume_invalid: "`⚠️` | Invalid Volume. Please use a number between **1** and **100**!"
volume_msg: '`🔊` | Volume has been set to **%{volume}%**'
volume_invalid: '`⚠️` | Invalid Volume. Please use a number between **1** and **100**!'

### RemoveTrack command!
insert_desc: "`➕` | Inserted **%{name}** `%{duration}` • %{request}"
insert_already: "`⚠️` | I can not insert a song that is already playing!"
insert_notfound: "`⚠️` | Song not found!"
insert_desc: '`➕` | Inserted **%{name}** `%{duration}` • %{request}'
insert_already: '`⚠️` | I can not insert a song that is already playing!'
insert_notfound: '`⚠️` | Song not found!'

### Radio command!
radio_list_author: "List all radio avaliable in %{host}"
radio_list_placeholder: "Choose a provider / country to get radio id list"
radio_list_move: "`✅` | Moved to **%{providerName}**"
radio_accept: "`✅` | Currently playing radio number **%{radio_no} [%{radio_name}](%{radio_link})**"
radio_list_author: 'List all radio avaliable in %{host}'
radio_list_placeholder: 'Choose a provider / country to get radio id list'
radio_list_move: '`✅` | Moved to **%{providerName}**'
radio_accept: '`✅` | Currently playing radio number **%{radio_no} [%{radio_name}](%{radio_link})**'
Loading

0 comments on commit 4f72768

Please sign in to comment.