diff --git a/module-ama/src/main/kotlin/org/quiltmc/community/cozy/modules/ama/_PkUtils.kt b/module-ama/src/main/kotlin/org/quiltmc/community/cozy/modules/ama/_PkUtils.kt index 06444d3a..a33140c6 100644 --- a/module-ama/src/main/kotlin/org/quiltmc/community/cozy/modules/ama/_PkUtils.kt +++ b/module-ama/src/main/kotlin/org/quiltmc/community/cozy/modules/ama/_PkUtils.kt @@ -1,10 +1,10 @@ -/* - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. - */ - -package org.quiltmc.community.cozy.modules.ama +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + +package org.quiltmc.community.cozy.modules.ama import com.kotlindiscord.kord.extensions.modules.extra.pluralkit.api.PKMemberPrivacy import com.kotlindiscord.kord.extensions.modules.extra.pluralkit.api.PKProxyTag @@ -123,7 +123,7 @@ public suspend fun UserBehavior.getPluralKitSystem(): PKResult { return PKResult.SystemNotAccessible } - return systemRequest.body() + return PKResult.Success(systemRequest.body()) } public suspend fun UserBehavior.getPluralKitMember(text: String): PKResult {