package com.discord.stores; import com.discord.models.commands.Application; import com.discord.models.user.User; import com.discord.utilities.user.UserUtils; import d0.t.n; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: StoreApplicationCommands.kt */ public final class StoreApplicationCommands$handleDmUserApplication$1 extends o implements Function0 { public final /* synthetic */ User $botUser; public final /* synthetic */ StoreApplicationCommands this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreApplicationCommands$handleDmUserApplication$1(StoreApplicationCommands storeApplicationCommands, User user) { super(0); this.this$0 = storeApplicationCommands; this.$botUser = user; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { StoreApplicationCommands.access$setPendingGatewayGuildId$p(this.this$0, null); StoreApplicationCommands.access$setApplications$p(this.this$0, n.emptyList()); StoreApplicationCommands.access$getApplicationCommandIndexes$p(this.this$0).clear(); StoreApplicationCommands.access$handleGuildApplicationsUpdate(this.this$0, n.listOf((Object[]) new Application[]{new Application(this.$botUser.getId(), this.$botUser.getUsername(), null, null, 0, UserUtils.INSTANCE.synthesizeApiUser(this.$botUser), false, 8, null), StoreApplicationCommands.access$getBuiltInCommandsProvider$p(this.this$0).getBuiltInApplication()})); } }