mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Fix CustomSounds
This commit is contained in:
parent
83822aba38
commit
cc6db0b72b
4 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ export default definePlugin({
|
||||||
replacement: [
|
replacement: [
|
||||||
// override URL
|
// override URL
|
||||||
{
|
{
|
||||||
match: /(?<=new Audio;\i\.src=)\i\([0-9]+\)\("\.\/"\.concat\(this\.name,"\.mp3"\)/,
|
match: /\i\([0-9]+\)\(.{1,20}(\i),"\.mp3"\)/,
|
||||||
replace: "$self.findOverride(this.name)?.url || $&"
|
replace: "$self.findOverride($1)?.url || $&"
|
||||||
},
|
},
|
||||||
// override volume
|
// override volume
|
||||||
{
|
{
|
Loading…
Reference in a new issue