update for all the badges (#10)
* health check * Update Dockerfile * simplifying the deployment * Update Bot.js makes the find team command public * test (#9) * Dev (#7) * health check * Update Dockerfile * simplifying the deployment * Dev (#8) * health check * Update Dockerfile * simplifying the deployment * Update Bot.js makes the find team command public * Update PlayerService.js
This commit is contained in:
@@ -54,8 +54,14 @@ class PlayerService {
|
|||||||
badgeUrl += 'B/';
|
badgeUrl += 'B/';
|
||||||
} else if (badgeName.startsWith('C')) {
|
} else if (badgeName.startsWith('C')) {
|
||||||
badgeUrl += 'C/';
|
badgeUrl += 'C/';
|
||||||
|
} else if (badgeName.startsWith('D')) {
|
||||||
|
badgeUrl += 'D/';
|
||||||
|
} else if (badgeName.startsWith('E')) {
|
||||||
|
badgeUrl += 'E/';
|
||||||
|
} else if (badgeName.startsWith('F')) {
|
||||||
|
badgeUrl += 'F/';
|
||||||
} else {
|
} else {
|
||||||
badgeUrl += 'A/';
|
badgeUrl += 'A/'; // Default to A tier
|
||||||
}
|
}
|
||||||
|
|
||||||
badgeUrl += `BADGE_${badgeName}_72p.png`;
|
badgeUrl += `BADGE_${badgeName}_72p.png`;
|
||||||
|
|||||||
Reference in New Issue
Block a user