@@ -90,8 +90,6 @@ let discordProviderSessionRuntimePromise: Promise<DiscordProviderSessionRuntimeM
|
90 | 90 | let fetchDiscordApplicationIdForTesting: typeof fetchDiscordApplicationId | undefined; |
91 | 91 | let createDiscordNativeCommandForTesting: typeof createDiscordNativeCommand | undefined; |
92 | 92 | let runDiscordGatewayLifecycleForTesting: typeof runDiscordGatewayLifecycle | undefined; |
93 | | -let createDiscordGatewayPluginForTesting: typeof createDiscordGatewayPlugin | undefined; |
94 | | -let createDiscordGatewaySupervisorForTesting: typeof createDiscordGatewaySupervisor | undefined; |
95 | 93 | let loadDiscordVoiceRuntimeForTesting: (() => Promise<DiscordVoiceRuntimeModule>) | undefined; |
96 | 94 | let loadDiscordProviderSessionRuntimeForTesting: |
97 | 95 | | (() => Promise<DiscordProviderSessionRuntimeModule>) |
@@ -437,9 +435,8 @@ export async function monitorDiscordProvider(opts: MonitorDiscordOpts = {}) {
|
437 | 435 | discordConfig: discordCfg, |
438 | 436 | runtime, |
439 | 437 | createClient: createClientForTesting ?? ((...args) => new Client(...args)), |
440 | | -createGatewayPlugin: createDiscordGatewayPluginForTesting ?? createDiscordGatewayPlugin, |
441 | | -createGatewaySupervisor: |
442 | | -createDiscordGatewaySupervisorForTesting ?? createDiscordGatewaySupervisor, |
| 438 | +createGatewayPlugin: createDiscordGatewayPlugin, |
| 439 | +createGatewaySupervisor: createDiscordGatewaySupervisor, |
443 | 440 | createAutoPresenceController: createDiscordAutoPresenceController, |
444 | 441 | isDisallowedIntentsError: isDiscordDisallowedIntentsError, |
445 | 442 | }); |
@@ -643,12 +640,6 @@ export const testing = {
|
643 | 640 | setRunDiscordGatewayLifecycle(mock?: typeof runDiscordGatewayLifecycle) { |
644 | 641 | runDiscordGatewayLifecycleForTesting = mock; |
645 | 642 | }, |
646 | | -setCreateDiscordGatewayPlugin(mock?: typeof createDiscordGatewayPlugin) { |
647 | | -createDiscordGatewayPluginForTesting = mock; |
648 | | -}, |
649 | | -setCreateDiscordGatewaySupervisor(mock?: typeof createDiscordGatewaySupervisor) { |
650 | | -createDiscordGatewaySupervisorForTesting = mock; |
651 | | -}, |
652 | 643 | setLoadDiscordVoiceRuntime(mock?: () => Promise<DiscordVoiceRuntimeModule>) { |
653 | 644 | loadDiscordVoiceRuntimeForTesting = mock; |
654 | 645 | }, |
|