Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

chore(release): version 3.0.0 #753

Merged
merged 430 commits into from
May 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
430 commits
Select commit Hold shift + click to select a range
d5185b6
chore(deps): bump @swc/core from 1.2.155 to 1.2.156 (#826)
dependabot[bot] Mar 17, 2022
d0945e0
Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon into fe…
Mednoob Mar 19, 2022
0df8a4b
chore(deps): bump @swc/core from 1.2.156 to 1.2.157 (#827)
dependabot[bot] Mar 19, 2022
5f9ea5b
Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon into fe…
Mednoob Mar 19, 2022
e7cc0bb
chore(deps): bump youtubei from 0.0.1-rc.31 to 0.0.1-rc.32 (#828)
dependabot[bot] Mar 19, 2022
860193d
chore: update lockfile
Mednoob Mar 19, 2022
aebab29
chore: Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon …
Mednoob Mar 19, 2022
e423d67
chore(env_example): add REPL option
Mednoob Mar 19, 2022
f1634e9
feat(config/env): add enableRepl property
Mednoob Mar 19, 2022
9535f85
feat(index): add REPL feature
Mednoob Mar 19, 2022
960969f
chore(deps): bump @swc/core from 1.2.157 to 1.2.159 (#829)
dependabot[bot] Mar 21, 2022
f84ae38
chore(deps-dev): bump @typescript-eslint/parser from 5.15.0 to 5.16.0…
dependabot[bot] Mar 22, 2022
45c43f1
chore(deps-dev): bump @types/node from 17.0.21 to 17.0.22 (#834)
dependabot[bot] Mar 22, 2022
94527f6
chore(deps): bump @swc/cli from 0.1.55 to 0.1.56 (#833)
dependabot[bot] Mar 22, 2022
239421d
style(index): use one-line declaration for functions
Mednoob Mar 24, 2022
572cbaa
style(bot): better code
Mednoob Mar 24, 2022
d0b94fb
refactor(chunk): shorter code
Mednoob Mar 24, 2022
ee195cb
refactor(importURLToString): shorter code
Mednoob Mar 24, 2022
6da63bf
refactor(pathStringToURLString): shorter code
Mednoob Mar 24, 2022
41c4b05
style(handleVideos): sort import declarations
Mednoob Mar 24, 2022
b03faf8
fix(importURLToString): fix wrong slicing
Mednoob Mar 25, 2022
edde61c
feat(Rawon): add debugLog property
Mednoob Mar 25, 2022
83e677c
style(Rawon): sort property declaration by length
Mednoob Mar 25, 2022
abd4a0f
style(ServerQueue): sort import statements
Mednoob Mar 25, 2022
844add5
fix(Rawon): put `config` property declaration on top
Mednoob Mar 26, 2022
1c874c9
refactor: create audio player only once
Mednoob Mar 26, 2022
5b0532f
style(ServerQueue): sort property declaration by length
Mednoob Mar 26, 2022
a680b13
feat(ServerQueue): save volume for next song
Mednoob Mar 26, 2022
e50f553
refactor(VolumeCommand): use volume property from ServerQueue instead
Mednoob Mar 26, 2022
268ef3c
chore(deps): bump @swc/core from 1.2.159 to 1.2.160 (#835)
dependabot[bot] Mar 26, 2022
6a22c1b
chore(deps-dev): bump @types/node from 17.0.22 to 17.0.23 (#836)
dependabot[bot] Mar 26, 2022
fad2323
refactor: replace deprecated String.prototype.substr() (#838)
CommanderRoot Mar 26, 2022
e8d3a41
chore(lang/es): synchronize translations with EN lang (#839)
lxndr-rl Mar 27, 2022
6ee4ce1
chore(*): Tidy up (#840)
Mar 27, 2022
d17772a
feat(SongManager): add logger for value changes
Mednoob Mar 27, 2022
c7b777c
fix(ServerQueue): provide client and guild to song manager
Mednoob Mar 27, 2022
e93135d
feat(handleVideos): add debug logs
Mednoob Mar 27, 2022
c759bca
feat(play): add debug logs
Mednoob Mar 27, 2022
9ac3e17
feat(DebugLogManager): check whether debug mode is enabled
Mednoob Mar 27, 2022
bd3a743
feat(Rawon): provide debug mode config value to debug log manager
Mednoob Mar 27, 2022
29c1c7a
chore(deps): bump got from 12.0.2 to 12.0.3 (#841)
dependabot[bot] Mar 28, 2022
b1444f3
chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#842)
dependabot[bot] Mar 28, 2022
fb570a0
chore(lang/en): use MessageFormat formatting feature
Mednoob Mar 28, 2022
44ddaee
chore(deps): bump @swc/cli from 0.1.56 to 0.1.57 (#843)
dependabot[bot] Mar 29, 2022
1cdd7b3
chore(deps): bump @swc/core from 1.2.160 to 1.2.161 (#844)
dependabot[bot] Mar 29, 2022
d4e2482
chore(deps-dev): bump @typescript-eslint/parser from 5.16.0 to 5.17.0…
dependabot[bot] Mar 29, 2022
d74b59b
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.13.0 to…
dependabot[bot] Mar 31, 2022
a570b70
fix: fix linter error
Mednoob Apr 1, 2022
8c646d4
chore(deps): bump @swc/core from 1.2.161 to 1.2.162 (#849)
dependabot[bot] Apr 1, 2022
655624e
chore(deps): bump play-dl from 1.9.2 to 1.9.3 (#850)
dependabot[bot] Apr 1, 2022
c65d96e
feat: add yt-dlp-utils and its' typings
Mednoob Apr 1, 2022
4981700
chore(eslint): ignore scripts directory
Mednoob Apr 1, 2022
3e8afc7
chore(git): ignore data.json and scripts directory
Mednoob Apr 1, 2022
7a83b81
refactor(main): use yt-dlp-utils to download yt-dlp
Mednoob Apr 1, 2022
fb5d579
refactor(YTDLUtil): use yt-dlp-utils to fetch audio stream and data
Mednoob Apr 1, 2022
5e06eb3
chore(deps): remove youtube-dl-exec
Mednoob Apr 1, 2022
d3ce2b9
chore(deps): update lockfile
Mednoob Apr 1, 2022
4e4b8b4
chore(main): remove unused codes
Mednoob Apr 1, 2022
3bc93db
ci(deps): bump actions/setup-node from 3.0.0 to 3.1.0 (#852)
dependabot[bot] Apr 4, 2022
b65a66b
chore(deps): bump @swc/core from 1.2.162 to 1.2.163 (#853)
dependabot[bot] Apr 4, 2022
ae0b418
chore(deps-dev): bump @typescript-eslint/parser from 5.17.0 to 5.18.0…
dependabot[bot] Apr 5, 2022
fa68d14
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#855)
dependabot[bot] Apr 5, 2022
bbd385d
chore(QueueCommand): remove console logs
Mednoob Apr 5, 2022
9e232a2
feat(SongManager): make client property optional
Mednoob Apr 5, 2022
435232f
chore: Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon …
Mednoob Apr 5, 2022
ddbe269
feat(typings): make 'thumbnails' optional in BasicYoutubeVideoInfo
Mednoob Apr 8, 2022
e7a687b
feat(searchTrack): 'thumbnails' is optional
Mednoob Apr 8, 2022
0211a78
feat(yt-dlp-utils): use macOS binary for darwin-based platform
Mednoob Apr 9, 2022
4d8444e
chore(readme): remove Python requirement
Mednoob Apr 9, 2022
bfca136
chore: change `youtube-dl` stream strategy to `yt-dlp`
Mednoob Apr 9, 2022
302e571
chore(env_example): change play-dl information to wiki URL
Mednoob Apr 9, 2022
26e0295
chore(deps): bump play-dl from 1.9.3 to 1.9.4 (#861)
dependabot[bot] Apr 11, 2022
ebb16af
chore(deps-dev): bump eslint from 8.12.0 to 8.13.0 (#859)
dependabot[bot] Apr 11, 2022
4498f4d
chore(deps): bump youtubei from 0.0.1-rc.32 to 0.0.1-rc.35 (#862)
dependabot[bot] Apr 11, 2022
f0dd98b
chore(deps): bump @swc/core from 1.2.163 to 1.2.165 (#860)
dependabot[bot] Apr 11, 2022
6b9a38e
ci(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#863)
dependabot[bot] Apr 15, 2022
80d4315
chore(deps-dev): bump @typescript-eslint/parser from 5.18.0 to 5.19.0…
dependabot[bot] Apr 15, 2022
54b581a
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#865)
dependabot[bot] Apr 15, 2022
7e35995
chore(deps-dev): bump @types/node from 17.0.23 to 17.0.24 (#866)
dependabot[bot] Apr 15, 2022
56bf5a3
chore: update funding
Apr 15, 2022
d3d1962
fix(yt-dlp-utils): give more permissions to the executable
Mednoob Apr 16, 2022
982e8a9
chore(deps): bump @discordjs/voice from 0.8.0 to 0.9.0 (#867)
dependabot[bot] Apr 18, 2022
157ddc7
chore(deps): bump @swc/core from 1.2.165 to 1.2.168 (#868)
dependabot[bot] Apr 18, 2022
9dedc82
chore(deps-dev): debump '@rahagia/eslint-config' from 8.1.1 to 1.0.0
Apr 18, 2022
28f8510
fix(eslint): fix no-confusing-arrow usage but leaving another 3 warni…
Apr 18, 2022
c20ae02
chore(deps-dev): bump @typescript-eslint/parser from 5.19.0 to 5.20.0…
dependabot[bot] Apr 20, 2022
12f26f4
chore(deps-dev): bump @types/node from 17.0.24 to 17.0.25 (#870)
dependabot[bot] Apr 20, 2022
af89d6a
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#871)
dependabot[bot] Apr 20, 2022
ba9c395
chore(deps-dev): bump @rahagia/eslint-config from 1.0.0 to 1.0.1 (#872)
dependabot[bot] Apr 21, 2022
8c5a6b0
chore(deps): bump @swc/core from 1.2.168 to 1.2.170 (#873)
dependabot[bot] Apr 21, 2022
4951de9
chore(deps): update lockfile
Mednoob Apr 24, 2022
85155af
chore(lang/en): remove quote from repeat cmd footer
Mednoob Apr 24, 2022
a8f8ee1
feat(RepeatCommand): move footer to different embed
Mednoob Apr 24, 2022
98e49ad
chore(deps): bump tslib from 2.3.1 to 2.4.0 (#875)
dependabot[bot] Apr 25, 2022
d5938e7
chore(deps): bump @swc/core from 1.2.170 to 1.2.171 (#876)
dependabot[bot] Apr 25, 2022
031fd85
chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#877)
dependabot[bot] Apr 25, 2022
955d1e4
chore(deps-dev): bump @types/node from 17.0.25 to 17.0.26 (#879)
dependabot[bot] Apr 25, 2022
98fa7fe
chore(deps): bump got from 12.0.3 to 12.0.4 (#878)
dependabot[bot] Apr 25, 2022
593635a
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#880)
dependabot[bot] Apr 26, 2022
797bf02
chore(deps-dev): bump @types/node from 17.0.26 to 17.0.27 (#882)
dependabot[bot] Apr 26, 2022
0180059
chore(deps-dev): bump @typescript-eslint/parser from 5.20.0 to 5.21.0…
dependabot[bot] Apr 26, 2022
163bded
feat(PlayCommand): remove useless replace
Mednoob Apr 26, 2022
b7585a4
chore(deps): bump @swc/core from 1.2.171 to 1.2.172 (#883)
dependabot[bot] Apr 28, 2022
8a951c5
chore(deps-dev): bump @types/node from 17.0.27 to 17.0.29 (#884)
dependabot[bot] Apr 28, 2022
71051cf
chore(deps-dev): bump @types/node from 17.0.29 to 17.0.30 (#885)
dependabot[bot] Apr 29, 2022
082f3c3
chore(deps): bump @swc/core from 1.2.172 to 1.2.173 (#887)
dependabot[bot] Apr 29, 2022
fb54187
chore(deps): update lockfile
Apr 29, 2022
204e734
chore: rename Rahagia to Cyteliz, and rahagia.tech to cyteliz.net
Apr 29, 2022
9c24ec0
chore(deps-dev): use '@cyteliz/eslint/config'
Apr 29, 2022
9a09a1b
chore: Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon …
Mednoob May 3, 2022
8a332fc
feat(EvalCommand): add support for evaluating code using triple backt…
Mednoob May 3, 2022
adc976a
chore(deps): bump @swc/core from 1.2.173 to 1.2.177 (#893)
dependabot[bot] May 7, 2022
2043094
chore(deps-dev): change @cyteliz/eslint-config to @clytage-pkg/eslint…
May 8, 2022
c90e939
chore(deps-dev): bump @types/node from 17.0.30 to 17.0.31 (#888)
dependabot[bot] May 8, 2022
cc315ca
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#890)
dependabot[bot] May 8, 2022
7f6ea7d
chore(deps-dev): bump @typescript-eslint/parser from 5.21.0 to 5.22.0…
dependabot[bot] May 8, 2022
a84c635
chore: rename Cyteliz to Clytage, cyteliz.net to clytage.org
May 8, 2022
23bee48
chore(deps): update lockfile
Mednoob May 8, 2022
80a74c5
chore(deps): bump @swc/core from 1.2.177 to 1.2.179 (#894)
dependabot[bot] May 9, 2022
8837811
chore(deps-dev): bump typescript from 4.5.5 to 4.6.4 (#886)
dependabot[bot] May 9, 2022
3dfcbc9
chore(readme): forget to update the railway url as well
May 9, 2022
d528dd9
chore: final change RB Project to Clytage
May 9, 2022
45565a9
chore(funding): update details
May 9, 2022
f395bfc
Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon into fe…
Mednoob May 9, 2022
a1099ed
chore(PlayCommand): remove pointless linter ignore
Mednoob May 9, 2022
f1e4160
fix(SpotifyUtil): fix error while fetching playlist with more than 10…
Mednoob May 9, 2022
546cfd4
feat(ChannelUpdateEvent): add debug log
Mednoob May 9, 2022
e159004
feat(GuildBanAddEvent): add debug log
Mednoob May 9, 2022
4c713ad
feat(GuildBanRemoveEvent): add debug log
Mednoob May 9, 2022
2f0ea2f
feat(InteractionCreateEvent): add debug log
Mednoob May 9, 2022
1079a6e
feat(MessageCreateEvent): add debug log
Mednoob May 9, 2022
d1d49bd
feat(VoiceStateUpdateEvent): add debug log
Mednoob May 9, 2022
8a3bea7
feat(Rawon): add debug log for request library
Mednoob May 9, 2022
b518f95
feat(CommandManager): add debug log on message handler
Mednoob May 9, 2022
7e161c0
feat(DebugLogManager): add line break between messages
Mednoob May 9, 2022
bc28b75
feat: create dev.env_example file
Mednoob May 10, 2022
51f1d29
chore(git): ignore 'dev.env' file
Mednoob May 10, 2022
1759097
chore(env_example): move dev options and change 'DEV_GUILD' to 'MAIN_…
Mednoob May 10, 2022
597a6c9
feat(index): loading '.env' file manually is not required
Mednoob May 10, 2022
93c07c3
feat(config/env): parse the values in 'dev.env' file
Mednoob May 10, 2022
994cfab
fix(HelpCommand): property not available beause of name change
Mednoob May 10, 2022
eb724ee
fix(ReadyEvent): property not available beause of name change
Mednoob May 10, 2022
182aa2f
fix(CommandManager): property not available beause of name change
Mednoob May 10, 2022
84ebc9a
chore(deps): bump dotenv from 16.0.0 to 16.0.1 (#898)
dependabot[bot] May 11, 2022
ba52d45
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#896)
dependabot[bot] May 11, 2022
a870e60
chore(deps-dev): bump @types/node from 17.0.31 to 17.0.32 (#899)
dependabot[bot] May 11, 2022
60f79da
chore(deps): bump @swc/core from 1.2.179 to 1.2.181 (#897)
dependabot[bot] May 13, 2022
d0d1f92
chore(deps-dev): bump @types/node from 17.0.32 to 17.0.33 (#901)
dependabot[bot] May 13, 2022
42a13ae
chore(deps-dev): bump @typescript-eslint/parser from 5.22.0 to 5.23.0…
dependabot[bot] May 13, 2022
372f6b3
chore(deps): bump @swc/core from 1.2.181 to 1.2.183 (#902)
dependabot[bot] May 13, 2022
1409938
chore(deps): add renovate.json (#904)
renovate[bot] May 13, 2022
a0b629a
chore: remove dependabot and move added renovate configuration file i…
May 13, 2022
3c37193
chore(deps): pin dependencies (#926)
renovate[bot] May 13, 2022
f2c059d
fix(deps): update dependency discord.js to v13.7.0 (#929)
renovate[bot] May 13, 2022
e3d93c4
chore(renovate): update configuration
May 13, 2022
ac9acb8
chore(deps): pin dependencies (#930)
renovate[bot] May 13, 2022
810e085
types: add more property and set `modLog` to optional in `GuildData` …
Mednoob May 14, 2022
cecc9dc
fix(ModLogsCommand): fix linter error
Mednoob May 14, 2022
49eafe9
feat(commands/music): add DJ command
Mednoob May 14, 2022
bba5a1c
feat(ClientUtils): change how dj role is fetched
Mednoob May 14, 2022
21f255e
feat(config/env): remove `djRoleName`
Mednoob May 14, 2022
85f67ad
chore(lang/en): add EN localization for DJ command
Mednoob May 14, 2022
8a192a1
fix(ModerationLogs): fix linter error
Mednoob May 14, 2022
318025f
feat(SkipToCommand): only give no perms message when dj feature is en…
Mednoob May 14, 2022
f32f4e5
feat(RemoveCommand): only give no perms message when dj feature is en…
Mednoob May 14, 2022
8bed1d2
chore(env_example): remove DJ_ROLE_NAME
Mednoob May 14, 2022
55c0151
chore(app.json): synchronize with env_example
Mednoob May 14, 2022
f8b8cc6
chore: Merge branch 'feat/3.0.0' of https://github.com/mzrtamp/rawon …
Mednoob May 14, 2022
d297a9d
chore(deps): update lockfile
Mednoob May 14, 2022
a737374
chore(deps): update lockfile
May 15, 2022
d7c79f6
chore(deps): update all non-major dependencies (#933)
renovate[bot] May 17, 2022
f974e6f
chore(*): beautify
May 17, 2022
0f61abe
feat: sync with 'https://github.com/Clytage/project-template'
May 17, 2022
9322fff
chore: restore type config value
noxzym May 17, 2022
93d334c
chore(deps-dev): add rimraf
May 17, 2022
fcc0c57
chore: remove unnecessary file
May 19, 2022
ae85e87
ci: forget to rename this file too when doing a sync
May 19, 2022
72f99b1
chore(deps): update all non-major dependencies (#937)
renovate[bot] May 20, 2022
7317cf1
feat(DJCommand): add dj feature status on `role` sub cmd embed footer
Mednoob May 20, 2022
ea19123
chore(lang/en): synchronize with changes in dj command
Mednoob May 20, 2022
c971e63
chore(deps): update lockfile
May 20, 2022
306e96f
chore(config): update default EMBED_COLOR to `22C9FF`
May 20, 2022
97a9f3f
chore(config): update example MAIN_GUILD to `972407605295198258`
May 20, 2022
a85589a
feat(commands/moderation): add SetMuteCommand
Mednoob May 21, 2022
1b98399
feat(ClientUtils): fetch mute role from guild data
Mednoob May 21, 2022
1256ed1
feat(MuteCommand): change no-role warning
Mednoob May 21, 2022
681676d
feat(lang/en): synchronize with changes
Mednoob May 21, 2022
4dfb4e8
feat(MuteCommand): ensure that the user is muted first before sending dm
Mednoob May 21, 2022
ae9b08c
fix(MuteCommand): provide guild name to the dm embed description
Mednoob May 21, 2022
b0473db
feat(UnMuteCommand): ensure that the user is muted first before sendi…
Mednoob May 21, 2022
59ddbdb
feat(BanCommand): ensure that the user is banned first before sending dm
Mednoob May 21, 2022
cf28873
feat(config/env): remove `muteRoleName`
Mednoob May 21, 2022
9c9197b
chore(config): remove `MUTE_ROLE_NAME`
Mednoob May 21, 2022
d8b702c
fix(deps): update all non-major dependencies (#938)
renovate[bot] May 21, 2022
416875e
chore(readme): update railway URL
Mednoob May 22, 2022
ba36785
chore(deps): update all non-major dependencies to v5.26.0
renovate-bot May 23, 2022
219ac6d
chore(PurgeCommand): do better formatting for the purge amount
May 24, 2022
7ee0f92
fix(LyricsCommand): update API url flags
May 24, 2022
774cfbf
chore(BanCommand): update promise order
May 24, 2022
85e7c4e
chore(PurgeCommand): do more accurate amount
May 24, 2022
8364a14
chore(ModLogsCommand): do createEmbed emoji
May 24, 2022
03dbbfa
chore(MuteCommand): do better createEmbed formatting
May 24, 2022
dacba1f
chore(UnMuteCommand): do better createEmbed formatting
May 24, 2022
c0a30f1
chore(UnBanCommand): do better createEmbed formatting
May 24, 2022
a8798ec
chore(DJCommand): do better createEmbed formatting and string
May 24, 2022
8e9470c
chore(WarnCommand): add guild icon
May 24, 2022
c6aefe4
chore(MuteCommand): add guild icon
May 24, 2022
9e6f429
chore(UnMuteCommand): add guild icon
May 24, 2022
cdf8ea6
chore(KickCommand): add guild icon
May 24, 2022
6273e3f
chore(BanCommand): add guild icon
May 24, 2022
10afdd8
chore(lang/en): do better string formatting for added and removed sen…
May 24, 2022
239b8c8
chore(QueueCommand): add guild icon
May 24, 2022
31ce8ac
chore(RepeatCommand): fix unnecessary `newMode`
May 24, 2022
8f3ee2d
feat(UnMuteCommand): change no-role warning
Mednoob May 25, 2022
e79dd3b
chore(lang/en): synchronize with change in unmute command
Mednoob May 25, 2022
954a364
feat(DJCommand): use separate string instead for status change
Mednoob May 25, 2022
a3b8c62
chore(lang/en): synchronize with changes in dj command
Mednoob May 25, 2022
e4ca6ff
chore(lang/id): synchronize with EN localization
Mednoob May 25, 2022
fd97305
fix(deps): update all non-major dependencies (#941)
renovate[bot] May 25, 2022
f77de6b
chore(deps): update all non-major dependencies (#942)
renovate[bot] May 27, 2022
f8744cc
chore(lang): update actual message for shuffle command
May 27, 2022
80bc08b
chore(StayInQueueCommand): add emoji
May 27, 2022
e6d0fac
chore(lang/en): update footer message for nowplaying command
May 27, 2022
561b4da
chore(lang/en): add prefix for modlogs command help usage
May 27, 2022
410e391
fix(CommandContext): infinity thinking on select menu
noxzym May 27, 2022
b9c32e5
chore(CommandContext): add modal interaction support
noxzym May 27, 2022
137d00b
chore(*): use setAuthor for temporary
May 27, 2022
43244d6
chore(handleVideos): move handleVideoInitial string to title
May 27, 2022
9f07efe
chore(RemoveCommand): move songSkip string to title
May 27, 2022
ae664ca
chore(GuildBanEvent): update reason debugger
May 27, 2022
ba1fc9c
chore(*): change thumbnail image size from `2048` to `1024`
May 27, 2022
d09cfca
refactor(ModerationLogs): do better handleBan
May 27, 2022
7e45c30
refactor(ModerationLogs): better handleBan version, containing fixes too
May 27, 2022
a69ca34
chore(*): copyright to Clytage Development
May 27, 2022
5e9cb09
chore(lang/en): fix mf parsing error for repeat and skipto command
May 27, 2022
15d93c9
chore(readme): remove splash to avoid copyrights
May 27, 2022
87f06d1
chore: use clytage api for image assets instead
May 27, 2022
5072706
chore: remove unnecessary dir
May 27, 2022
db60bac
chore(lang/en): Grammar Improvements (#943)
21Z May 27, 2022
a8ab7d2
chore(lang/es): synchronize keys with EN localization
Mednoob May 27, 2022
73463dc
chore: Merge branch 'feat/3.0.0' of https://github.com/Clytage/rawon …
Mednoob May 27, 2022
101a490
fix(SpotifyUtil): remove null track in playlist
noxzym May 27, 2022
b81acea
chore(readme): update project contributors section
May 28, 2022
498fc14
chore(readme): update features
May 28, 2022
9925710
chore(lang/es): synchronize with EN localization (#944)
lxndr-rl May 28, 2022
4816234
chore(lang): improvement for all file
May 28, 2022
77ad007
chore(lang): sort localizations by alphabetic order
Mednoob May 28, 2022
383bb62
chore(tsconfig): change moduleResolution
May 28, 2022
b913cea
chore(*): prettier
noxzym May 28, 2022
118af80
chore(release): version 3.0.0
May 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 37 additions & 54 deletions .env_example
Original file line number Diff line number Diff line change
@@ -1,119 +1,102 @@
# This is your bot's configuration file, control your bot's environment here. Every value must use a string ("")
# This is your bot's configuration file, control your bot's environment here. Every value must contains a string ("")
# Note: if you're looking for the dev options, please go to the dev.env file

#==============================================================================
# What is your Discord bot's token?
# OPTIONAL = This value is optional, and can be left blank.
# IMPORTANT = It is recommended that you pay attention to the value.
# MULTIPLE - This value can be multiple string, each value splitted with comma or semi-colon. You can use single-quote (') to escape whether you have any comma or semicolon in the value.

#==============================================================================
# IMPORTANT - What is your Discord bot's token?
# Example: DISCORD_TOKEN="NTE5NjQ2MjIxNTU2Nzc2OTcw.XAcEQQ.0gjhNbGeWBsKP6FVuIyZWlG2cMd"
DISCORD_TOKEN=""

#==============================================================================
# What should be the main prefix of your bot?
# IMPORTANT - What should be the main prefix of your bot?
# Example: PREFIX="!"
# Default: !
MAIN_PREFIX=""

#==============================================================================
# What should be the alternative prefixes of your bot?
# Example: PREFIX=["?", "{mention}"]
# OPTIONAL, MULTIPLE - What should be the alternative prefixes of your bot?
# Example: PREFIX="?, {mention}"
# Formats: {mention} = @bot mention
# Default: {mention}
ALT_PREFIX=[""]
ALT_PREFIX="{mention}"

#==============================================================================
# What should be your bot's embed color code? (hex)
# Example: EMBED_COLOR="3CAAFF"
# Default: 3CAAFF
# OPTIONAL - What should be your bot's embed color code? (hex)
# Example: EMBED_COLOR="22C9FF"
# Default: 22C9FF
EMBED_COLOR=""

#==============================================================================
# What should be the language of your bot?
# OPTIONAL - What should be the language of your bot?
# Example: LOCALE="en"
# Available: en, es, id
# Default: en
LOCALE=""

#==============================================================================
# Activity list
# Example: '["Hello!"]'
# OPTIONAL, MULTIPLE - Activity list, what text should be appear on your bot's status?
# Example: ACTIVITIES="Hello!"
# Formats: {prefix} = bot prefix, {userCount} = user amount, {textChannelsCount} = text channel amount, {serverCount} = server amount, {playingCount} = amount of server playing music using the bot, {username} = bot username
ACTIVITIES='["My default prefix is {prefix}", "music with {userCount} users", "{textChannelsCount} text channels in {serverCount} guilds", "Hello there, my name is {username}"]'
ACTIVITIES="My default prefix is {prefix}, music with {userCount} users, {textChannelsCount} text channels in {serverCount} guilds, 'Hello there, my name is {username}'"

#==============================================================================
# Activity type list.
# OPTIONAL, MULTIPLE - Activity type list.
# The order of this value is the same order as ACTIVITIES.
# For example, first value of ACTIVITIES will use first value of this.
# Example: '["PLAYING", "COMPETING"]'
# Example: ACTIVITY_TYPES="PLAYING, COMPETING"
# Available: PLAYING, WATCHING, LISTENING, COMPETING
ACTIVITY_TYPES='["PLAYING", "LISTENING", "WATCHING", "PLAYING", "COMPETING"]'

#==============================================================================
# OPTIONAL - What is the owner's ID of the bot?
# Example: OWNERS=["390045370240991234"]
OWNERS=[""]

#==============================================================================
# OPTIONAL - What is your server's ID?
# Example: DEV_GUILD=["332877090003091456"]
DEV_GUILD=[""]
ACTIVITY_TYPES="PLAYING, LISTENING, WATCHING, PLAYING, COMPETING"

#==============================================================================
# In which mode do you want to activate your bot?
# Example: NODE_ENV="production"
# Available: production, development
# Default: production
NODE_ENV=""
# OPTIONAL, MULTIPLE - What is your server's ID?
# Example: MAIN_GUILD="972407605295198258"
MAIN_GUILD=""

#==============================================================================
# Which youtube downloader do you want to use? Note: if you use play-dl, it will support a few sites.
# Example: STREAM_STRATEGY="youtube-dl"
# Available: play-dl, youtube-dl
# Default: youtube-dl
# OPTIONAL - Which youtube downloader do you want to use?
# For more information, see: https://github.com/Clytage/rawon/wiki/Stream-Strategy
# Example: STREAM_STRATEGY="yt-dlp"
# Available: play-dl, yt-dlp
# Default: yt-dlp
STREAM_STRATEGY=""

#==============================================================================
# Do you want to enable slash command support?
# OPTIONAL - Do you want to enable slash command support?
# Example: ENABLE_SLASH_COMMAND="yes"
# Default: yes
ENABLE_SLASH_COMMAND=""

#==============================================================================
# Which music selection type do you want to use?
# OPTIONAL - Which music selection type do you want to use?
# Example: MUSIC_SELECTION_TYPE="selectmenu"
# Available: message (just like in previous version) or selectmenu (uses discord selection menu)
# Available: message (just like in previous version), selectmenu (uses discord selection menu)
# Default: message
MUSIC_SELECTION_TYPE=""

#==============================================================================
# Do you want to enable the 24/7 command?
# IMPORTANT - Do you want to enable the 24/7 command?
# Example: ENABLE_24_7_COMMAND="no"
# Default: no
ENABLE_24_7_COMMAND=""

#==============================================================================
# Do you want to make your bot not leave the voice channel after playing a song?
# IMPORTANT - Do you want to make your bot not leaving the voice channel after playing a song?
# Example: STAY_IN_VC_AFTER_FINISHED="no"
# Default: no
STAY_IN_VC_AFTER_FINISHED=""

#==============================================================================
# What is your server's DJ role name?
# Example: DJ_ROLE_NAME="DJ"
# Default: DJ
DJ_ROLE_NAME=""

#==============================================================================
# What is your server's Muted role name?
# Example: MUTE_ROLE_NAME="Muted"
# Default: Muted
MUTE_ROLE_NAME=""

#==============================================================================
# What should be your bot's emoji for every success sentence?
# OPTIONAL - What should be your bot's emoji for every success sentence?
# Example: YES_EMOJI="✅"
# Default: ✅
YES_EMOJI=""

#==============================================================================
# What should be your bot's emoji for every failed sentence?
# OPTIONAL - What should be your bot's emoji for every failed sentence?
# Example: NO_EMOJI="❌"
# Default: ❌
NO_EMOJI=""
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
patreon: mzrtamp
custom: ["https://karyakarsa.com/mozartrafi"]
patreon: clytage
custom: ["https://paypal.me/clytage", "https://karyakarsa.com/clytage"]
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Feature Request
title: "[Features] <title>"
description: Suggest an idea for this project
labels: [enhancement]
labels: []

body:
- type: textarea
Expand Down
29 changes: 0 additions & 29 deletions .github/dependabot.yml

This file was deleted.

Binary file removed .github/images/info.png
Binary file not shown.
Binary file removed .github/images/question_mark.png
Binary file not shown.
Binary file removed .github/images/rawon.png
Binary file not shown.
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>clytage/project-template:clytage-renovate"]
}
24 changes: 9 additions & 15 deletions .github/workflows/test.yml → .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint code & compile test
name: Lint code and compile setup script

on:
push:
Expand All @@ -16,14 +16,14 @@ jobs:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.5.1
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3.2.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install dependencies
run: npm ci

Expand All @@ -38,22 +38,16 @@ jobs:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.5.1
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # tag=v3.2.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install typescript
run: npm i --save-dev typescript

- name: Delete node modules folder
run: rm -rf node_modules

- name: Install dependencies
run: npm ci

- name: Test compile
run: npm run tscompile && rm -rf dist
- name: Compile test
run: npm run compile && rm -rf dist
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jspm_packages/
# TypeScript cache
*.tsbuildinfo

# TypeScript build output
dist/

# Optional npm cache directory
.npm

Expand All @@ -69,8 +66,8 @@ dist/

# dotenv environment variables file
.env
.env
.prod.env
.env.test
dev.env

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down Expand Up @@ -102,3 +99,7 @@ dist

# TernJS port file
.tern-port

# Rawon cache directories and files
data.json
scripts/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./.node-version
13 changes: 13 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": false,
"decorators": true
},
"target": "es2021"
},
"module": {
"type": "es6"
}
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"files.eol": "\n",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.importModuleSpecifierEnding": "js",
"eslint.packageManager": "npm",
"npm.packageManager": "npm",
"files.eol": "\n",
"liveshare.languages.allowGuestCommandControl": true
}
10 changes: 10 additions & 0 deletions DISCLAIMERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Disclaimers
List of disclaimers.

## Copyright, DMCA, and/or Intellectual Properties
1. Any intellectual properties used, played, or displayed by the bot is not owned by us, the maintainer of the bot, or any of the bot's contributors. This includes, but is not limited to, the audio, video and image files displayed or used in the bot's commands.
2. As railway stated in their legal fair-use page (refer to https://railway.app/legal/fair-use), they won't allow any kind of Hosting/Distribution of DMCA Protected Content. That includes hosting a discord music bot that plays music/video under a copyright license. **Deploy to Railway at your own risk.**

## Code modifications
1. The bot is open source and can be modified and redistributed under the [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause) license.
2. As written in the license, we are not responsible for any damages or losses when you are attempting to modify the code and redistribute or use it.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2022, RB Project
Copyright (c) 2022, Clytage Development
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
Loading