Fix subscribe() -> add_moderator() in sync_moderators()

This commit is contained in:
Adam Goldsmith 2023-09-02 00:21:15 -04:00
parent a0118df35d
commit defc42e3fb

View File

@ -112,7 +112,7 @@ def sync_moderators(
for address, display_name in members_to_add.items(): for address, display_name in members_to_add.items():
print(f"Adding '{display_name} <{address}>' as moderator to list {list}") print(f"Adding '{display_name} <{address}>' as moderator to list {list}")
if not dry_run: if not dry_run:
list.subscribe(address, display_name) list.add_moderator(address, display_name)
for member in members_to_remove: for member in members_to_remove:
print(f"Removing {member} as moderator from list {list}") print(f"Removing {member} as moderator from list {list}")