Skip to content

Conversation

epipav
Copy link
Collaborator

@epipav epipav commented Aug 8, 2023

Switch to first discord bot until we get verified

What

🤖 Generated by Copilot at fe5f4aa

Fixed a bug in the integration service that caused discord synchronization to fail with an invalid primary token. Swapped the order of the discord tokens in integrationService.ts to use the primary token first.

🤖 Generated by Copilot at fe5f4aa

discord tokens swapped
integration service fixed
autumn bug hunting

Why

How

🤖 Generated by Copilot at fe5f4aa

  • Swap the order of discord tokens to use the primary token first and the backup token second (link). This fixes a bug where the integration service would fail to connect to the discord API if the primary token was invalid or expired. The integration service synchronizes the crowd.dev members with the discord server roles and channels in integrationService.ts.

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@epipav epipav marked this pull request as ready for review August 8, 2023 09:02
@epipav epipav self-assigned this Aug 8, 2023
@epipav epipav added the Bug Created by Linear-GitHub Sync label Aug 8, 2023
@epipav epipav merged commit e04bea6 into main Aug 8, 2023
@epipav epipav deleted the bugfix/change-discord-bot branch August 8, 2023 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant