def update_context(self, request, queryset):
update = <NUM_LIT:0><EOL>delete = <NUM_LIT:0><EOL>invites = queryset.all()<EOL>for invite in invites:<EOL><INDENT>if invite.update_context():<EOL><INDENT>update += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>invite.delete()<EOL>delete += <NUM_LIT:1><EOL><DEDENT><DEDENT>self.message_user(request, '<STR_LIT>' % (update, delete))<EOL>
Pull invite details from Discord