Skip to content

Use Kord for the Discord REST client #21

Description

@LizAinslie

Replace the hand-rolled Discord REST client with Kord (soft fork), dev.kord:kord-rest:0.18.1-kalendee.2.

What

  • DiscordApi.kt is rewritten on the Kord REST client instead of manual HTTP/JSON plumbing.
  • The fork artifact is resolved from mavenLocal() during development (gradle/libs.versions.toml, settings.gradle.kts, server/build.gradle.kts).
  • Discord tests are adapted to the Kord-backed client (DiscordApiTest, DiscordActionsTest, DiscordImportServiceTest, DiscordProviderTest, OAuthFoundationTest).

Test evidence

  • :server:test — 319 tests, 0 failures
  • :core:jvmTest — 56 tests, 0 failures

CI note

CI requires the Kord fork artifact dev.kord:kord-rest:0.18.1-kalendee.2 published to repo.yuri.capital maven-releases. Fork: https://github.com/KolektivComputer/kord, branch kalendee/recurrence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/enhancementImprovement or additions to existing code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions