|
|
|
@ -400,6 +400,14 @@ export default definePlugin({
|
|
|
|
|
match: /(?<=type:"(?:SOUNDBOARD_SOUNDS_RECEIVED|GUILD_SOUNDBOARD_SOUND_CREATE|GUILD_SOUNDBOARD_SOUND_UPDATE|GUILD_SOUNDBOARD_SOUNDS_UPDATE)".+?available:)\i\.available/g,
|
|
|
|
|
replace: "true"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// Allow using custom notification sounds
|
|
|
|
|
{
|
|
|
|
|
find: "canUseCustomNotificationSounds:function",
|
|
|
|
|
replacement: {
|
|
|
|
|
match: /canUseCustomNotificationSounds:function\(\i\){/,
|
|
|
|
|
replace: "$&return true;"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|