harumin-config changelog
Every harumin-config release, newest first.
Versions
0.14.0
4 addedAdded
- Drafts on Discord.
TOURNEY_ROUTES.draftanswers an edition's draft as a linked guild reads it (tourneyDraftSchema, its playersdraftPlayerSchema): the pick on the clock and its deadline, up to five teams next, the picks made, the players left by rank, and what the Discord user named byDISCORD_USER_HEADERmay do.TOURNEY_ROUTES.draftPicktakes a captain's pick (draftPickBodySchema), which names the pick its menu was made for so a stale menu or a second click is refused, and answers the draft after it (draftPickAnswerSchema). TOURNEY_ROUTES.roleGuildsanswers every guild a role rule of an enabled link names (roleGuildsSchema). harumin refreshes the roles of members it sees only in those.HARUMIN_COLLECTIONS.tourneyDrafts(tourney_drafts): the bot's draft mirrors, one per edition.- Each new schema exports its type under the PascalCase name:
DraftPlayer,TourneyDraft,DraftPickBody,DraftPickAnswerandRoleGuilds.
- Drafts on Discord.
0.13.0
4 added, 1 changedAdded
- The tourney.haruhime.moe contract. Role rules:
ROLE_TRIGGERS,ROLE_REVOKES,MAX_ROLE_RULES(25),roleTriggerSchema,roleRuleSchemaandroleRulesSchema(unique ids, one guild and one revoke per role). A lineage's link to Discord:tourneyLinkSchema. The channel a harumin post goes to:notificationRouteSchema. - Two bot routes tourney calls:
SERVICE_ROUTES.guildRolesanswers a guild's roles and what harumin may do with them (guildRolesSchema);SERVICE_ROUTES.tourneyPosttakes one embed with no mentions and an optional Register button, whose custom id starts withREGISTER_BUTTON_PREFIX(tourneyPostBodySchema,tourneyEmbedSchema), and answers the message's id (tourneyPostAnswerSchema). - tourney's routes for harumin,
TOURNEY_ROUTES, andDISCORD_USER_HEADERfor/api/v1calls made for a Discord user. Role sync:roleSyncJobSchema,roleSyncClaimBodySchema,roleSyncClaimAnswerSchema,roleSyncAckBodySchema,roleSyncRefreshBodySchema,ROLE_SYNC_ERRORS,ROLE_SYNC_LEASE_SECONDS(120) andMAX_ROLE_SYNC_CLAIM(50). A guild's linked lineages:tourneyGuildSchema. What the Register button does:registrationButtonSchema. - Each new schema exports its type under the PascalCase name (
roleRuleSchemagivesRoleRule), andRoleRevokeandRoleSyncErrorname one revoke and one error.
Changed
- CI runs CodeQL and a gitleaks scan of the full git history, and Dependabot covers dependencies and pinned actions. Dependencies are on their latest versions.
- The tourney.haruhime.moe contract. Role rules:
0.12.0
1 addedAdded
noticeCardSchemaandCARD_ROUTES.notice: errors and confirmations as an image, in styled runs (plain, bold, code), at most 600 characters.
0.11.1
1 fixedFixed
guildSettingsPatchSchematakes thereplayauto-embed. In 0.11.0 it refused any patch that set it.
0.11.0
1 addedAdded
- A
replayauto-embed (on by default):.osrfiles posted in chat get a score card.
- A
0.10.0
1 addedAdded
- A pool card slot takes
mine({ grade, accuracy, pp }or null): the player's best score on the map, for /pool me.
- A pool card slot takes
0.9.0
1 addedAdded
poolCardSchema.sourcetakes"practice"(/practice),"fromtop"(/pool fromtop) and"me"(/pool me).
0.8.0
4 addedAdded
CARD_ACCENTS(8 fixed accents, rose first) andCARD_COVERS.userSettingsSchemaandreadUserSettings: per-player card settings keyed by osu! id, stored inHARUMIN_COLLECTIONS.userSettings(user_settings).SERVICE_ROUTES.revalidateUserandrevalidateUserBodySchema.themeonprofileCardSchema(cardThemeSchema): accent and favorite line.
0.7.0
1 addedAdded
sessiononscoreCardSchema(scoreSessionSchema): attempts on the map in the last 24 h and a note.
0.6.0
1 addedAdded
- Card images for
/info,/linkand/invite:infoCardSchema,linkCardSchemaandinviteCardSchema, and theirCARD_ROUTES.
- Card images for
0.5.0
1 addedAdded
- Card images for
/matchcost,/pack,/pool,/server,/track listand bb links:matchCostCardSchema(withMAX_MATCH_ROWS),poolCardSchema(withMAX_POOL_SLOTSandPOOL_CHECKS),serverCardSchema(withMAX_SERVER_ROWS),tracksCardSchemaandbbCardSchema, and theirCARD_ROUTES.
- Card images for
0.4.0
1 addedAdded
- Card images for
/map,/leaderboard,/simulateand/compare:mapCardSchema,leaderboardCardSchema(withMAX_LEADERBOARD_ROWS),simulateCardSchemaandcompareCardSchema(withcompareSideSchema), and theirCARD_ROUTES.
- Card images for
0.3.0
2 addedAdded
profileCardSchematakescover: "image" | "hole"(default"image")."hole"asks the site to leave the cover transparent.CARD_LAYOUT: the profile card's size and cover box, shared by the bot and the site.
0.2.0
1 addedAdded
- Card images:
CARD_ROUTES(the site's image routes),profileCardSchema,scoreCardSchema,scoreListCardSchema, the sharedcardPlayerSchemaandcardScoreSchema,GRADESandMAX_CARD_ROWS. Image URLs are limited toassets.ppy.sh.
- Card images:
0.1.0
1 addedAdded
- Guild settings (
guildSettingsSchema,defaultGuildSettings,readGuildSettings,guildSettingsPatchSchema,applyGuildSettingsPatch), auto-embed keys, defaults and labels,/trackentries, collection names, the bot's service routes and their bodies, andguildIconUrl.
- Guild settings (