@@ -163,30 +163,30 @@ def remove_invite(self, invite_key: str) -> InviteDataInviteEntry:
163163 raise NoSuchInvite (invite_key )
164164
165165 def modify_invite_link (self , invite_key : str , link : str ) -> InviteDataInviteEntry :
166- invite_entry = self .require_invite_entry (invite_key ):
166+ invite_entry = self .require_invite_entry (invite_key )
167167 invite_entry .update_modified_on ()
168168 invite_entry .link = link
169169 return invite_entry
170170
171171 def modify_invite_tags (
172172 self , invite_key : str , tags : Tuple [str , ...]
173173 ) -> InviteDataInviteEntry :
174- invite_entry = self .require_invite_entry (invite_key ):
174+ invite_entry = self .require_invite_entry (invite_key )
175175 invite_entry .tags = set (tags )
176176 return invite_entry
177177
178178 def modify_invite_description (
179179 self , invite_key : str , description : str
180180 ) -> InviteDataInviteEntry :
181- invite_entry = self .require_invite_entry (invite_key ):
181+ invite_entry = self .require_invite_entry (invite_key )
182182 invite_entry .description = description
183183 return invite_entry
184184
185185 def configure_guild_key (self , invite_key : Optional [str ]) -> Optional [InviteEntry ]:
186186 if not invite_key :
187187 self .guild_key = None
188188 return
189- invite_entry = self .require_invite_entry (invite_key ):
189+ invite_entry = self .require_invite_entry (invite_key )
190190 self .guild_key = invite_key
191191 return invite_entry
192192
0 commit comments