719: Added route to send test discord message to club#757
719: Added route to send test discord message to club#757Arshadul-Monir wants to merge 4 commits intomainfrom
Conversation
Available PR Commands
See: https://github.com/tahminator/codebloom/wiki/CI-Commands |
Title719: Added route to send test discord message to club PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["AdminController POST /admin/discord/message/test"] --> B["DiscordClubManager.sendTestEmbedMessageToClub"]
B --> C["JDA Client connect/send"]
C --> D["Discord Guild Leaderboard Channel"]
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
src/main/java/org/patinanetwork/codebloom/common/components/DiscordClubManager.java
Show resolved
Hide resolved
src/main/java/org/patinanetwork/codebloom/common/components/DiscordClubManager.java
Outdated
Show resolved
Hide resolved
9532462 to
ba9ef51
Compare
|
/deploy |
4d13e0f to
eeea043
Compare
|
/deploy |
5d6b910 to
3b5f844
Compare
719: Admin message deletes self after 10 seconds
|
/deploy |
719: Added tests for sendDiscordMessage 719: Updated mockio test 719: Added tests for JDAClient 719: Added private to setup functions 719: Added delete test 719: Finished AdminController Tests
719: Undo auto deletion in DiscordClubManager 719: Removed auto deletion logic from test
|
/deploy |
2 similar comments
|
/deploy |
|
/deploy |
719
Description of changes
Added an admin-only POST route that takes a clubId and sends a test message to the Discord guild associated with a club, given its clubId, in the channel associated with the channelId stored for them
Checklist before review
Screenshots
Dev
Test message using the /api/admin/discord/message/test endpoint:

Message deleted using the /api/admin/discord/message/delete:

Staging
Test message using the /api/admin/discord/message/test endpoint:

Message deleted using the /api/admin/discord/message/delete:
