Skip to content

Commit 384b147

Browse files
authored
AutoGUILD.update's invite_track attribute fix (#605)
1 parent 0be9867 commit 384b147

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ v4.1.0
5151
- Fixed SQL log removal through the GUI.
5252
- Fixed CSV and JSON reading through remote.
5353
- Fixed exception when GUI tried to print a message.
54+
- Fixed invite ``invite_track`` attribute error in :class:`daf.guild.AutoGUILD`.
5455
- |BREAK_CH| Disabled the :ref:`Automatic guild discovery and join` features due to the search provider shutting down its
5556
services. It will be reenabled in a future version.
5657

src/daf/guild/autoguild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ async def _on_update(self, _, init_options, **kwargs):
441441
try:
442442
# Update the guild
443443
if "invite_track" not in kwargs:
444-
kwargs["invite_track"] = self.invite_track
444+
kwargs["invite_track"] = list(self._invite_join_count.keys())
445445

446446
if "exclude_pattern" not in kwargs: # DEPRECATED; TODO: remove in 4.2.0
447447
kwargs["exclude_pattern"] = None

0 commit comments

Comments
 (0)