refactor: remove unused anchorRoleId parameter from DiscordRoleRepository and decentralize type definitions

This commit is contained in:
MythEclipse
2026-06-06 03:06:00 +07:00
parent 03e2a28e97
commit 66d3b5e997
7 changed files with 43 additions and 36 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ client.once("clientReady", () => {
startBoostCleanup(
client,
store,
(guild) => new DiscordRoleRepository(guild, config.boosterRoleAnchorRoleId),
(guild) => new DiscordRoleRepository(guild),
{
intervalMs: config.boostCleanupIntervalMs,
boosterEligibilityRoleId: config.boosterEligibilityRoleId,