Files
discord-decomp/modules/rpc/native/server/commands/voiceSettings.tsx
T
2026-11-01 12:12:55 +02:00

15 lines
553 B
TypeScript

// Metro module 13572 (f13573).
import { RPC_SCOPE_CONFIG } from "../../../Constants";
import { RPCCommands } from "../../../../../Constants";
import { OAuth2Scopes } from "../../../../../_bundle/Module8174";
import { getDeprecatedVoiceSettings } from "../NativeRPCHelpers";
const r19 = {};
const GET_VOICE_SETTINGS = RPCCommands.GET_VOICE_SETTINGS;
const scope = {};
scope[RPC_SCOPE_CONFIG.ANY] = [OAuth2Scopes.RPC, OAuth2Scopes.RPC_VOICE_READ];
r19[GET_VOICE_SETTINGS] = {
scope,
handler: () => getDeprecatedVoiceSettings()
};
export default r19;