mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33: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: [
|
||||
// override URL
|
||||
{
|
||||
match: /(?<=new Audio;\i\.src=)\i\([0-9]+\)\("\.\/"\.concat\(this\.name,"\.mp3"\)/,
|
||||
replace: "$self.findOverride(this.name)?.url || $&"
|
||||
match: /\i\([0-9]+\)\(.{1,20}(\i),"\.mp3"\)/,
|
||||
replace: "$self.findOverride($1)?.url || $&"
|
||||
},
|
||||
// override volume
|
||||
{
|
Loading…
Reference in a new issue