Slackbot
06/27/2024, 12:43 PMursus
06/27/2024, 12:47 PMclient.plugin(Auth).providers.filterIsInstance<BearerAuthProvider>()
.firstOrNull()?.clearToken()
okay internet told me this, but feels a bit hacky. Is this really preferred way, or should I just let the instance get GCed?Hinaka
06/27/2024, 1:15 PMursus
06/27/2024, 1:15 PMHinaka
06/27/2024, 2:13 PMe5l
06/27/2024, 4:12 PM